[llvm-bugs] [Bug 41771] New: rL342442 introduced (dodgy?) duplicate assignment in Vectorizer.vectorizeLoadChain

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 6 11:09:01 PDT 2019


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: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: llvm-bugs at lists.llvm.org, Matthew.Arsenault at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190506/d4865b40/attachment.html>


More information about the llvm-bugs mailing list