[LLVMbugs] [Bug 6914] New: Instruction does not dominate all uses
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Apr 23 21:23:34 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=6914
Summary: Instruction does not dominate all uses
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: regehr at cs.utah.edu
CC: llvmbugs at cs.uiuc.edu, chenyang at cs.utah.edu
Seen on x64 Linux. I cannot repro with opt.
[regehr at gamow tmp408]$ clang -v
clang version 1.5 (trunk 102110)
Target: x86_64-unknown-linux-gnu
Thread model: posix
[regehr at gamow tmp408]$ clang -O -c -w small.c
Instruction does not dominate all uses!
%tmp7 = load i16* %tmp6 ; <i16> [#uses=1]
%tmp = trunc i16 %tmp7 to i8 ; <i8> [#uses=2]
Instruction does not dominate all uses!
%tmp = trunc i16 %tmp7 to i8 ; <i8> [#uses=2]
%tmp23 = mul i8 %tmp, -2 ; <i8> [#uses=1]
Instruction does not dominate all uses!
%tmp = trunc i16 %tmp7 to i8 ; <i8> [#uses=2]
%tmp24 = mul i8 %tmp, -1 ; <i8> [#uses=1]
Instruction does not dominate all uses!
%1 = add i8 %0, %tmp24 ; <i8> [#uses=1]
%lsr.iv.next = add i8 %lsr.iv, %1 ; <i8> [#uses=1]
Broken module found, compilation aborted!
0 clang 0x00000000012582af
1 clang 0x000000000125a1b2
2 libpthread.so.0 0x00007f6410bdf190
3 libc.so.6 0x00007f640fee54b5 gsignal + 53
4 libc.so.6 0x00007f640fee8f50 abort + 384
5 clang 0x000000000120304f
6 clang 0x00000000011db66d
7 clang 0x00000000011db84b
8 clang 0x00000000011dbb0f
9 clang 0x0000000000415647
10 clang 0x0000000000415ec5
11 clang 0x00000000006102bf
12 clang 0x00000000004199b1
13 clang 0x0000000000409ccb
14 clang 0x000000000040d043 main + 2499
15 libc.so.6 0x00007f640fed0abd __libc_start_main + 253
16 clang 0x00000000004074f9
Stack dump:
0. Program arguments:
/uusoc/exports/scratch/regehr/z/compiler-install/llvm-gcc-r102110-install/bin/clang
-cc1 -triple x86_64-unknown-linux-gnu -S -disable-free -main-file-name small.c
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -resource-dir
/uusoc/exports/scratch/regehr/z/compiler-install/llvm-gcc-r102110-install/lib/clang/1.5
-O2 -w -ferror-limit 19 -ftemplate-backtrace-limit 10 -fmessage-length 89
-fgnu-runtime -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-YT2vqr.s
-x c small.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Module Verifier' on function '@int323'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list