[llvm-bugs] [Bug 48208] New: Pass modifies its input and doesn't report it: Interleaved Access Pass

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 17 10:24:50 PST 2020


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

            Bug ID: 48208
           Summary: Pass modifies its input and doesn't report it:
                    Interleaved Access Pass
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: david.stenberg at ericsson.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 24175
  --> https://bugs.llvm.org/attachment.cgi?id=24175&action=edit
IR reproducer.

LLVM commit: c5a6712f8cee1bfbb5d730531943558645853c0b

$ opt -S -interleaved-access -mtriple=x86_64 -debug interleaved-access.ll
[...]
  Replaced:   %1 = mul <8 x i16> %0, %0
    And   :   %5 = shufflevector <8 x i16> %1, <8 x i16> undef, <4 x i32> <i32
1, i32 3, i32 5, i32 7>
  With    :   %2 = shufflevector <8 x i16> %0, <8 x i16> undef, <4 x i32> <i32
1, i32 3, i32 5, i32 7>
    And   :   %3 = shufflevector <8 x i16> %0, <8 x i16> undef, <4 x i32> <i32
1, i32 3, i32 5, i32 7>
    And   :   %4 = mul <4 x i16> %2, %3
IA: Found an interleaved load:   %0 = load <8 x i16>, <8 x i16>* %p, align 1
Pass modifies its input and doesn't report it: Interleaved Access Pass
Pass modifies its input and doesn't report it
UNREACHABLE executed at ../lib/IR/LegacyPassManager.cpp:1525!
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
Stack dump:
0.      Program arguments: ./build-all-expensive/bin/opt -S -interleaved-access
/user/interleaved-access.ll -mtriple=x86_64 -debug 
1.      Running pass 'Function Pass Manager' on module
'/user/interleaved-access.ll'.
2.      Running pass 'Interleaved Access Pass' on function '@b'
 #0 0x0000000002892963 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int)
(./build-all-expensive/bin/opt+0x2892963)
 #1 0x00000000028906de llvm::sys::RunSignalHandlers()
(./build-all-expensive/bin/opt+0x28906de)
 #2 0x0000000002892e1c SignalHandler(int)
(./build-all-expensive/bin/opt+0x2892e1c)
 #3 0x00007f06524c6630 __restore_rt (/lib64/libpthread.so.0+0xf630)
 #4 0x00007f06515d1387 raise (/lib64/libc.so.6+0x36387)
 #5 0x00007f06515d2a78 abort (/lib64/libc.so.6+0x37a78)
 #6 0x0000000002816bef (./build-all-expensive/bin/opt+0x2816bef)
 #7 0x00000000020bc7d8 (./build-all-expensive/bin/opt+0x20bc7d8)
 #8 0x00000000020c3298 llvm::FPPassManager::runOnModule(llvm::Module&)
(./build-all-expensive/bin/opt+0x20c3298)
 #9 0x00000000020bcbe0 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(./build-all-expensive/bin/opt+0x20bcbe0)
#10 0x000000000076db8b main (./build-all-expensive/bin/opt+0x76db8b)
#11 0x00007f06515bd555 __libc_start_main (/lib64/libc.so.6+0x22555)
#12 0x0000000000757765 _start (./build-all-expensive/bin/opt+0x757765)

-- 
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/20201117/d5aaa456/attachment-0001.html>


More information about the llvm-bugs mailing list