[LLVMbugs] Loop-simplify / preheader bug

Vikram S. Adve vadve at cs.uiuc.edu
Wed Oct 22 04:25:48 PDT 2003

The loop-simplify pass (called via LICM) crashes on some code produced
by preselection for anagram.main().

bugpoint badmain.bc -loopsimplify -disable-adce reduces the test case to
the one attached here.  bugpoint crashes if I don't use -disable-adce,
which I assume is calling the loopsimplify pass.

opt -loopsimplify bugpoint-reduced-simplified.bc reproduces the bug.

--Vikram Adve

 Assistant Professor                        E-MAIL: vadve at cs.uiuc.edu
 Department of Computer Science             PHONE:  (217) 244-2016
 Univ. of Illinois at Urbana-Champaign      FAX:    (217) 244-6869
 1304 W. Springfield Ave.               http://www.cs.uiuc.edu/~vadve
 Urbana IL 61801-2987.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugpoint-reduced-simplified.bc
Type: application/octet-stream
Size: 468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20031022/bb8cab22/attachment.obj>

More information about the llvm-bugs mailing list