https://bugs.llvm.org/show_bug.cgi?id=41771

            Bug ID: 41771
           Summary: rL342442 introduced (dodgy?) duplicate assignment in
                    Vectorizer.vectorizeLoadChain
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedb...@nondot.org
          Reporter: llvm-...@redking.me.uk
                CC: llvm-bugs@lists.llvm.org, matthew.arsena...@amd.com
            Blocks: 41655

rL342442 (LSV: Fix adjust alloca alignment trick for AMDGPU) introduced this
code:

    unsigned NewAlign = getOrEnforceKnownAlignment(L0->getPointerOperand(),
                                                   StackAdjustedAlignment,
                                                   DL, L0, nullptr, &DT);
    if (NewAlign != 0)
      Alignment = NewAlign;

    Alignment = NewAlign;


Reported in https://www.viva64.com/en/b/0629/ - Snippets No. 25

@arsenm - please can you take a look?


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=41655
[Bug 41655] Finding Bugs in LLVM 8 with PVS-Studio
-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to