[llvm-bugs] [Bug 47390] New: [LoopVectorize] Assertion `isa<PHINode>(UI) && "Expected LCSSA form"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 1 20:20:45 PDT 2020


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

            Bug ID: 47390
           Summary: [LoopVectorize] Assertion `isa<PHINode>(UI) &&
                    "Expected LCSSA form"' failed.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: chenmindong120 at gmail.com
                CC: llvm-bugs at lists.llvm.org

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

clang-10:
/home/chenmindong/dev/llvm-project/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:3410:
void llvm::InnerLoopVectorizer::fixupIVUsers(llvm::PHINode*, const
llvm::InductionDescriptor&, llvm::Value*, llvm::Value*, llvm::BasicBlock*):
Assertion `isa<PHINode>(UI) && "Expected LCSSA form"' failed.
Stack dump:
0.      Program arguments:
/home/chenmindong/dev/llvm-project/install/bin/clang-10 -cc1 -triple
aarch64-unknown-linux-gnu -emit-obj -disable-free -main-file-name reproducer.c
-mrelocation-model static -mthread-model posix -mllvm -pass-remarks= -mllvm
-pass-remarks-missed= -mllvm -pass-remarks-analysis= -mframe-pointer=non-leaf
-fmath-errno -ffp-contract=fast -fno-rounding-math -masm-verbose
-mconstructor-aliases -target-cpu generic -target-feature +neon -target-abi
aapcs -fallow-half-arguments-and-returns -dwarf-column-info
-fno-split-dwarf-inlining -debugger-tuning=gdb -resource-dir
/home/chenmindong/dev/llvm-project/install/lib/clang/10.0.0 -internal-isystem
/usr/local/include -internal-isystem
/home/chenmindong/dev/llvm-project/install/lib/clang/10.0.0/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include -Os
-w -fdebug-compilation-dir /home/chenmindong/workspace/DTS/701 -ferror-limit 19
-fmessage-length 0 -fno-signed-char -fgnuc-version=4.2.1 -fobjc-runtime=gcc
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-faddrsig -o /tmp/reproducer-d275c0.o -x c reproducer.c
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'Function Pass Manager' on module 'reproducer.c'.
4.      Running pass 'Loop Vectorization' on function '@b'

-- 
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/20200902/ae61f802/attachment.html>


More information about the llvm-bugs mailing list