David Blaikie
2013-Jun-24 23:58 UTC
[LLVMdev] DebugInfo: Missing non-trivially-copyable parameters in SelectionDAG
This is a bit premature to be considered a code review, but given how unfamiliar I am with SelectionDAG (& that I'm seeing somewhat more 'interesting' results compared to my change to FastISel) I wanted to get a bit of feedback to see if I was on the right track or had missed any obvious cases. I've attached my patch in progress (including a modification to the existing test case to demonstrate the missing parameter problem on i386 (though it also turns up in x86-64 in cases where the SelectionDAG kicks in, the simplest of which was "foo func(foo f, foo g) { return f; }" and 'g' goes missing)) and a log of the output of failing tests. Several of them seem to be (to my eye) minor perturbations of instruction selection or register allocation. Do these look like they're within the realm of reasonable changes in behavior from my change or is something really broken? (there's one test that seems more problematic & is giving "Bad machine code: Non-terminator instruction after the first terminator" errors - but it /looks/ like that could be reproduced without the unused parameters & without my change, but that's just my own naive guess. -------------- next part -------------- -- Testing: 51 tests, 12 threads -- FAIL: LLVM :: CodeGen/PowerPC/emptystruct.ll (1 of 51) ******************** TEST 'LLVM :: CodeGen/PowerPC/emptystruct.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc -mcpu=pwr7 -O0 -fast-isel=false < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/PowerPC/emptystruct.ll | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/PowerPC/emptystruct.ll -- Exit Code: 1 Command Output (stderr): -- <stdin>:18:2: error: CHECK-NOT: string occurred! std 5, -16(1) # 8-byte Folded Spill ^ /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/PowerPC/emptystruct.ll:30:14: note: CHECK-NOT: pattern specified here ; CHECK-NOT: std 5, ^ -- ******************** FAIL: LLVM :: CodeGen/Mips/2008-06-05-Carry.ll (2 of 51) ******************** TEST 'LLVM :: CodeGen/Mips/2008-06-05-Carry.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc -march=mips < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/Mips/2008-06-05-Carry.ll | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/Mips/2008-06-05-Carry.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/Mips/2008-06-05-Carry.ll:17:10: error: expected string not found in input ; CHECK: sltu ^ <stdin>:45:7: note: scanning from here subu $3, $5, $7 ^ <stdin>:48:2: note: possible intended match here subu $2, $4, $1 ^ -- ******************** FAIL: LLVM :: CodeGen/ARM/fp-arg-shuffle.ll (3 of 51) ******************** TEST 'LLVM :: CodeGen/ARM/fp-arg-shuffle.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/ARM/fp-arg-shuffle.ll -march=arm -mattr=+neon -float-abi=soft | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/ARM/fp-arg-shuffle.ll -- Exit Code: 1 Command Output (stderr): -- <stdin>:27:2: error: CHECK-NOT: string occurred! vmov d16, r0, r1 ^ /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/ARM/fp-arg-shuffle.ll:4:14: note: CHECK-NOT: pattern specified here ; CHECK-NOT: vmov ^ -- ******************** FAIL: LLVM :: CodeGen/PowerPC/jaggedstructs.ll (4 of 51) ******************** TEST 'LLVM :: CodeGen/PowerPC/jaggedstructs.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc -mcpu=pwr7 -O0 -fast-isel=false < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/PowerPC/jaggedstructs.ll | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/PowerPC/jaggedstructs.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/PowerPC/jaggedstructs.ll:21:10: error: expected string not found in input ; CHECK: std 6, 184(1) ^ <stdin>:1:2: note: scanning from here .file "<stdin>" ^ <stdin>:53:2: note: possible intended match here std 6, 112(1) # 8-byte Folded Spill ^ -- ******************** FAIL: LLVM :: CodeGen/R600/rv7x0_count3.ll (5 of 51) ******************** TEST 'LLVM :: CodeGen/R600/rv7x0_count3.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/rv7x0_count3.ll -march=r600 -show-mc-encoding -mcpu=rv710 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/rv7x0_count3.ll -- Exit Code: 2 Command Output (stderr): -- LLVM ERROR: Cannot select: 0x23660d0: i32,ch = load 0x23313d0, 0x2365fd0, 0x2365dd0<LD4[undef]> [ID=21] 0x2365fd0: i32 = Constant<40> [ID=3] 0x2365dd0: i32 = undef [ID=2] In function: test FileCheck error: '-' is empty. -- ******************** FAIL: LLVM :: CodeGen/AArch64/sibling-call.ll (6 of 51) ******************** TEST 'LLVM :: CodeGen/AArch64/sibling-call.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc -verify-machineinstrs < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/AArch64/sibling-call.ll -mtriple=aarch64-none-linux-gnu | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/AArch64/sibling-call.ll -- Exit Code: 2 Command Output (stderr): -- # After Instruction Selection # Machine code for function caller_to8_from8: SSA Frame Objects: fi#-2: size=8, align=16, fixed, at location [SP] fi#-1: size=8, align=16, fixed, at location [SP] Function Live Ins: %X0 in %vreg0, %X1 in %vreg1, %X2 in %vreg2, %X3 in %vreg3, %X4 in %vreg4, %X5 in %vreg5, %X6 in %vreg6, %X7 in %vreg7 BB#0: derived from LLVM BB %1 Live Ins: %X0 %X1 %X2 %X3 %X4 %X5 %X6 %X7 %vreg7<def> = COPY %X7; GPR64:%vreg7 %vreg6<def> = COPY %X6; GPR64:%vreg6 %vreg5<def> = COPY %X5; GPR64:%vreg5 %vreg4<def> = COPY %X4; GPR64:%vreg4 %vreg3<def> = COPY %X3; GPR64:%vreg3 %vreg2<def> = COPY %X2; GPR64:%vreg2 %vreg1<def> = COPY %X1; GPR64:%vreg1 %vreg0<def> = COPY %X0; GPR64:%vreg0 %vreg16<def> = LS64_LDR <fi#-1>, 0; mem:LD8[FixedStack-1](align=16) GPR64:%vreg16 %vreg17<def> = MOVZxii 42, 0; GPR64:%vreg17 LS64_STR %vreg17<kill>, <fi#-2>, 0; mem:ST8[FixedStack-2](align=16) GPR64:%vreg17 %vreg19<def> = IMPLICIT_DEF; GPR64:%vreg19 %vreg20<def> = IMPLICIT_DEF; GPR32:%vreg20 %vreg18<def,tied1> = INSERT_SUBREG %vreg19<tied0>, %vreg20<kill>, sub_32; GPR64:%vreg18,%vreg19 GPR32:%vreg20 %X0<def> = COPY %vreg18; GPR64:%vreg18 %X1<def> = COPY %vreg18; GPR64:%vreg18 %X2<def> = COPY %vreg18; GPR64:%vreg18 %X3<def> = COPY %vreg18; GPR64:%vreg18 %X4<def> = COPY %vreg18; GPR64:%vreg18 %X5<def> = COPY %vreg18; GPR64:%vreg18 %X6<def> = COPY %vreg18; GPR64:%vreg18 %X7<def> = COPY %vreg18; GPR64:%vreg18 TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> %vreg15<def> = COPY %vreg7:sub_32; GPR32:%vreg15 GPR64:%vreg7 %vreg14<def> = COPY %vreg6:sub_32; GPR32:%vreg14 GPR64:%vreg6 %vreg13<def> = COPY %vreg5:sub_32; GPR32:%vreg13 GPR64:%vreg5 %vreg12<def> = COPY %vreg4:sub_32; GPR32:%vreg12 GPR64:%vreg4 %vreg11<def> = COPY %vreg3:sub_32; GPR32:%vreg11 GPR64:%vreg3 %vreg10<def> = COPY %vreg2:sub_32; GPR32:%vreg10 GPR64:%vreg2 %vreg9<def> = COPY %vreg1:sub_32; GPR32:%vreg9 GPR64:%vreg1 %vreg8<def> = COPY %vreg0:sub_32; GPR32:%vreg8 GPR64:%vreg0 # End machine code for function caller_to8_from8. *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x30fe7e0) - instruction: %vreg15<def> = COPY %vreg7:sub_32; GPR32:%vreg15 GPR64:%vreg7 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x30fe7e0) - instruction: %vreg14<def> = COPY %vreg6:sub_32; GPR32:%vreg14 GPR64:%vreg6 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x30fe7e0) - instruction: %vreg13<def> = COPY %vreg5:sub_32; GPR32:%vreg13 GPR64:%vreg5 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x30fe7e0) - instruction: %vreg12<def> = COPY %vreg4:sub_32; GPR32:%vreg12 GPR64:%vreg4 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x30fe7e0) - instruction: %vreg11<def> = COPY %vreg3:sub_32; GPR32:%vreg11 GPR64:%vreg3 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x30fe7e0) - instruction: %vreg10<def> = COPY %vreg2:sub_32; GPR32:%vreg10 GPR64:%vreg2 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x30fe7e0) - instruction: %vreg9<def> = COPY %vreg1:sub_32; GPR32:%vreg9 GPR64:%vreg1 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x30fe7e0) - instruction: %vreg8<def> = COPY %vreg0:sub_32; GPR32:%vreg8 GPR64:%vreg0 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> LLVM ERROR: Found 8 machine code errors. FileCheck error: '-' is empty. -- ******************** FAIL: LLVM :: CodeGen/AArch64/tail-call.ll (7 of 51) ******************** TEST 'LLVM :: CodeGen/AArch64/tail-call.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc -verify-machineinstrs < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/AArch64/tail-call.ll -mtriple=aarch64-none-linux-gnu -tailcallopt | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/AArch64/tail-call.ll -- Exit Code: 2 Command Output (stderr): -- # After Instruction Selection # Machine code for function caller_to8_from8: SSA Frame Objects: fi#-2: size=8, align=16, fixed, at location [SP] fi#-1: size=8, align=16, fixed, at location [SP] Function Live Ins: %X0 in %vreg0, %X1 in %vreg1, %X2 in %vreg2, %X3 in %vreg3, %X4 in %vreg4, %X5 in %vreg5, %X6 in %vreg6, %X7 in %vreg7 BB#0: derived from LLVM BB %1 Live Ins: %X0 %X1 %X2 %X3 %X4 %X5 %X6 %X7 %vreg7<def> = COPY %X7; GPR64:%vreg7 %vreg6<def> = COPY %X6; GPR64:%vreg6 %vreg5<def> = COPY %X5; GPR64:%vreg5 %vreg4<def> = COPY %X4; GPR64:%vreg4 %vreg3<def> = COPY %X3; GPR64:%vreg3 %vreg2<def> = COPY %X2; GPR64:%vreg2 %vreg1<def> = COPY %X1; GPR64:%vreg1 %vreg0<def> = COPY %X0; GPR64:%vreg0 ADJCALLSTACKDOWN 16, %XSP<imp-def,dead>, %XSP<imp-use> %vreg16<def> = LS64_LDR <fi#-1>, 0; mem:LD8[FixedStack-1](align=16) GPR64:%vreg16 %vreg17<def> = MOVZxii 42, 0; GPR64:%vreg17 LS64_STR %vreg17<kill>, <fi#-2>, 0; mem:ST8[FixedStack-2](align=16) GPR64:%vreg17 %vreg19<def> = IMPLICIT_DEF; GPR64:%vreg19 %vreg20<def> = IMPLICIT_DEF; GPR32:%vreg20 %vreg18<def,tied1> = INSERT_SUBREG %vreg19<tied0>, %vreg20<kill>, sub_32; GPR64:%vreg18,%vreg19 GPR32:%vreg20 %X0<def> = COPY %vreg18; GPR64:%vreg18 %X1<def> = COPY %vreg18; GPR64:%vreg18 %X2<def> = COPY %vreg18; GPR64:%vreg18 %X3<def> = COPY %vreg18; GPR64:%vreg18 %X4<def> = COPY %vreg18; GPR64:%vreg18 %X5<def> = COPY %vreg18; GPR64:%vreg18 %X6<def> = COPY %vreg18; GPR64:%vreg18 %X7<def> = COPY %vreg18; GPR64:%vreg18 ADJCALLSTACKUP 16, 0, %XSP<imp-def>, %XSP<imp-use> TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> %vreg15<def> = COPY %vreg7:sub_32; GPR32:%vreg15 GPR64:%vreg7 %vreg14<def> = COPY %vreg6:sub_32; GPR32:%vreg14 GPR64:%vreg6 %vreg13<def> = COPY %vreg5:sub_32; GPR32:%vreg13 GPR64:%vreg5 %vreg12<def> = COPY %vreg4:sub_32; GPR32:%vreg12 GPR64:%vreg4 %vreg11<def> = COPY %vreg3:sub_32; GPR32:%vreg11 GPR64:%vreg3 %vreg10<def> = COPY %vreg2:sub_32; GPR32:%vreg10 GPR64:%vreg2 %vreg9<def> = COPY %vreg1:sub_32; GPR32:%vreg9 GPR64:%vreg1 %vreg8<def> = COPY %vreg0:sub_32; GPR32:%vreg8 GPR64:%vreg0 # End machine code for function caller_to8_from8. *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x2d7aee0) - instruction: %vreg15<def> = COPY %vreg7:sub_32; GPR32:%vreg15 GPR64:%vreg7 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x2d7aee0) - instruction: %vreg14<def> = COPY %vreg6:sub_32; GPR32:%vreg14 GPR64:%vreg6 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x2d7aee0) - instruction: %vreg13<def> = COPY %vreg5:sub_32; GPR32:%vreg13 GPR64:%vreg5 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x2d7aee0) - instruction: %vreg12<def> = COPY %vreg4:sub_32; GPR32:%vreg12 GPR64:%vreg4 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x2d7aee0) - instruction: %vreg11<def> = COPY %vreg3:sub_32; GPR32:%vreg11 GPR64:%vreg3 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x2d7aee0) - instruction: %vreg10<def> = COPY %vreg2:sub_32; GPR32:%vreg10 GPR64:%vreg2 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x2d7aee0) - instruction: %vreg9<def> = COPY %vreg1:sub_32; GPR32:%vreg9 GPR64:%vreg1 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> *** Bad machine code: Non-terminator instruction after the first terminator *** - function: caller_to8_from8 - basic block: BB#0 (0x2d7aee0) - instruction: %vreg8<def> = COPY %vreg0:sub_32; GPR32:%vreg8 GPR64:%vreg0 First terminator was: TC_RETURNdi <ga:@callee_stack8>, 0, <regmask>, %XSP<imp-use>, %X0<imp-use>, %X1<imp-use>, %X2<imp-use>, %X3<imp-use>, %X4<imp-use>, %X5<imp-use>, %X6<imp-use>, %X7<imp-use> LLVM ERROR: Found 8 machine code errors. FileCheck error: '-' is empty. -- ******************** FAIL: LLVM :: CodeGen/ARM/fast-isel-conversion.ll (8 of 51) ******************** TEST 'LLVM :: CodeGen/ARM/fast-isel-conversion.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/ARM/fast-isel-conversion.ll -O0 -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/ARM/fast-isel-conversion.ll --check-prefix=ARM /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/ARM/fast-isel-conversion.ll -O0 -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=armv7-linux-gnueabi | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/ARM/fast-isel-conversion.ll --check-prefix=ARM /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/ARM/fast-isel-conversion.ll -O0 -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/ARM/fast-isel-conversion.ll --check-prefix=THUMB -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/ARM/fast-isel-conversion.ll:23:8: error: expected string not found in input ; ARM: sitofp_single_i16 ^ <stdin>:43:2: note: scanning from here vstr s0, [sp] ^ <stdin>:113:10: note: possible intended match here .globl _uitofp_single_i16 ^ -- ******************** FAIL: LLVM :: CodeGen/R600/store.ll (9 of 51) ******************** TEST 'LLVM :: CodeGen/R600/store.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/store.ll -march=r600 -mcpu=redwood | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck --check-prefix=EG-CHECK /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/store.ll /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/store.ll -march=r600 -mcpu=cayman | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck --check-prefix=CM-CHECK /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/store.ll /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/store.ll -march=r600 -mcpu=verde | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck --check-prefix=SI-CHECK /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/store.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/store.ll:7:13: error: expected string not found in input ; EG-CHECK: RAT_WRITE_CACHELESS_32_eg T{{[0-9]+\.X, T[0-9]+\.X}}, 1 ^ <stdin>:1:11: note: scanning from here @store_f32: ^ <stdin>:12:2: note: possible intended match here RAT_WRITE_CACHELESS_32_eg T0.X, T1.X, 0 ^ -- ******************** FAIL: LLVM :: CodeGen/X86/2008-05-21-CoalescerBug.ll (10 of 51) ******************** TEST 'LLVM :: CodeGen/X86/2008-05-21-CoalescerBug.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/2008-05-21-CoalescerBug.ll -march=x86 -O0 -fast-isel=false -optimize-regalloc -regalloc=basic | grep mov | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./count 5 -- Exit Code: 1 Command Output (stderr): -- Expected 5 lines, got 7. -- ******************** FAIL: LLVM :: CodeGen/R600/vselect.ll (11 of 51) ******************** TEST 'LLVM :: CodeGen/R600/vselect.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/vselect.ll -march=r600 -mcpu=redwood | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/vselect.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/vselect.ll:6:10: error: expected string not found in input ; CHECK: CNDE_INT T{{[0-9]+\.[XYZW], PV\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}} ^ <stdin>:34:35: note: scanning from here CNDE_INT * T3.X, PV.W, T1.X, T2.X, ^ -- ******************** FAIL: LLVM :: CodeGen/SystemZ/args-06.ll (12 of 51) ******************** TEST 'LLVM :: CodeGen/SystemZ/args-06.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/SystemZ/args-06.ll -mtriple=s390x-linux-gnu | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/SystemZ/args-06.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/SystemZ/args-06.ll:12:10: error: expected string not found in input ; CHECK: lb {{%r[0-5]}}, 167(%r15) ^ <stdin>:18:2: note: scanning from here l %r0, 164(%r15) ^ -- ******************** FAIL: LLVM :: CodeGen/X86/2008-12-02-dagcombine-3.ll (13 of 51) ******************** TEST 'LLVM :: CodeGen/X86/2008-12-02-dagcombine-3.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/2008-12-02-dagcombine-3.ll -march=x86 | grep add | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./count 2 /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/2008-12-02-dagcombine-3.ll -march=x86 | grep sub | grep -v subsections | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./count 1 -- Exit Code: 1 Command Output (stderr): -- Expected 2 lines, got 1. -- ******************** FAIL: LLVM :: CodeGen/R600/store.r600.ll (14 of 51) ******************** TEST 'LLVM :: CodeGen/R600/store.r600.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/store.r600.ll -march=r600 -mcpu=redwood | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck --check-prefix=EG-CHECK /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/store.r600.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/R600/store.r600.ll:7:13: error: expected string not found in input ; EG-CHECK: RAT_WRITE_CACHELESS_128 T{{[0-9]+\.XYZW, T[0-9]+\.X}}, 1 ^ <stdin>:1:13: note: scanning from here @store_v4i32: ^ <stdin>:13:2: note: possible intended match here RAT_WRITE_CACHELESS_128 T0.XYZW, T1.X, 0 ^ -- ******************** FAIL: LLVM :: CodeGen/X86/2008-06-13-VolatileLoadStore.ll (15 of 51) ******************** TEST 'LLVM :: CodeGen/X86/2008-06-13-VolatileLoadStore.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/2008-06-13-VolatileLoadStore.ll -mtriple=i686-linux -mattr=+sse2 | grep movsd | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./count 5 /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/2008-06-13-VolatileLoadStore.ll -mtriple=i686-linux -mattr=+sse2 | grep movl | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./count 2 -- Exit Code: 1 Command Output (stderr): -- Expected 2 lines, got 6. -- ******************** FAIL: LLVM :: CodeGen/NVPTX/convert-int-sm20.ll (16 of 51) ******************** TEST 'LLVM :: CodeGen/NVPTX/convert-int-sm20.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/NVPTX/convert-int-sm20.ll -march=nvptx -mcpu=sm_20 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/NVPTX/convert-int-sm20.ll /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/NVPTX/convert-int-sm20.ll -march=nvptx64 -mcpu=sm_20 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/NVPTX/convert-int-sm20.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/NVPTX/convert-int-sm20.ll:11:10: error: expected string not found in input ; CHECK: ld.param.u16 %rs[[R0:[0-9]+]], [cvt_i16_i32_param_{{[0-9]+}}] ^ <stdin>:1:1: note: scanning from here // ^ <stdin>:19:2: note: possible intended match here ld.param.u32 %r1, [cvt_i16_i32_param_0]; ^ -- ******************** FAIL: LLVM :: CodeGen/PowerPC/anon_aggr.ll (17 of 51) ******************** TEST 'LLVM :: CodeGen/PowerPC/anon_aggr.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc -O0 -mcpu=pwr7 -mtriple=powerpc64-unknown-linux-gnu -fast-isel=false < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/PowerPC/anon_aggr.ll | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/PowerPC/anon_aggr.ll /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc -O0 -mcpu=g4 -mtriple=powerpc-apple-darwin8 < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/PowerPC/anon_aggr.ll | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck -check-prefix=DARWIN32 /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/PowerPC/anon_aggr.ll /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc -O0 -mcpu=ppc970 -mtriple=powerpc64-apple-darwin8 < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/PowerPC/anon_aggr.ll | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck -check-prefix=DARWIN64 /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/PowerPC/anon_aggr.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/PowerPC/anon_aggr.ll:176:13: error: expected string not found in input ; DARWIN32: stw r[[REG3]], -[[OFFSET2:[0-9]+]] ^ <stdin>:129:13: note: scanning from here stw r2, -76(r1) ; 4-byte Folded Spill ^ <stdin>:129:13: note: with variable "REG3" equal to "22" stw r2, -76(r1) ; 4-byte Folded Spill ^ <stdin>:130:2: note: possible intended match here stw r11, -80(r1) ; 4-byte Folded Spill ^ -- ******************** FAIL: LLVM :: CodeGen/X86/arg-cast.ll (18 of 51) ******************** TEST 'LLVM :: CodeGen/X86/arg-cast.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/arg-cast.ll | grep andl /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/arg-cast.ll | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./not grep movsd /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/arg-cast.ll | grep esp | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./not grep add -- Exit Code: 1 Command Output (stdout): -- andl 4(%esp), %eax movsd 16(%esp), %xmm0 movsd %xmm0, (%esp) -- ******************** FAIL: LLVM :: CodeGen/X86/compare_folding.ll (19 of 51) ******************** TEST 'LLVM :: CodeGen/X86/compare_folding.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/compare_folding.ll -march=x86 -mcpu=yonah | grep movsd | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./count 1 /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/compare_folding.ll -march=x86 -mcpu=yonah | grep ucomisd -- Exit Code: 1 Command Output (stderr): -- Expected 1 lines, got 2. -- ******************** FAIL: LLVM :: CodeGen/X86/commute-two-addr.ll (20 of 51) ******************** TEST 'LLVM :: CodeGen/X86/commute-two-addr.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/commute-two-addr.ll -mtriple=i686-pc-linux-gnu -mcpu=corei7 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/commute-two-addr.ll -check-prefix=LINUX /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/commute-two-addr.ll -mtriple=x86_64-apple-darwin -mcpu=corei7 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/commute-two-addr.ll -check-prefix=DARWIN -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/commute-two-addr.ll:17:10: error: expected string not found in input ; LINUX: addl %eax, %ecx ^ <stdin>:22:2: note: scanning from here movl 4(%esp), %eax ^ <stdin>:23:2: note: possible intended match here xorl %eax, %ecx ^ -- ******************** FAIL: LLVM :: CodeGen/X86/atom-pad-short-functions.ll (21 of 51) ******************** TEST 'LLVM :: CodeGen/X86/atom-pad-short-functions.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/atom-pad-short-functions.ll -O1 -mcpu=atom -mtriple=i686-linux | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/atom-pad-short-functions.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/atom-pad-short-functions.ll:88:10: error: expected string not found in input ; CHECK: @test_branch_to_same_bb ^ <stdin>:106:1: note: scanning from here .Ltmp6: ^ <stdin>:107:38: note: possible intended match here .size test_branch_to_same_bb, .Ltmp6-test_branch_to_same_bb ^ -- ******************** FAIL: LLVM :: CodeGen/X86/fold-call.ll (22 of 51) ******************** TEST 'LLVM :: CodeGen/X86/fold-call.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fold-call.ll -march=x86 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fold-call.ll /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fold-call.ll -march=x86-64 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fold-call.ll -- Exit Code: 1 Command Output (stderr): -- <stdin>:10:2: error: CHECK-NOT: string occurred! movl 40(%esp), %eax ^ /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fold-call.ll:5:14: note: CHECK-NOT: pattern specified here ; CHECK-NOT: mov ^ -- ******************** FAIL: LLVM :: CodeGen/X86/add.ll (23 of 51) ******************** TEST 'LLVM :: CodeGen/X86/add.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/add.ll -mcpu=generic -march=x86 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/add.ll -check-prefix=X32 /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/add.ll -mcpu=generic -mtriple=x86_64-linux | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/add.ll -check-prefix=X64 /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/add.ll -mcpu=generic -mtriple=x86_64-win32 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/add.ll -check-prefix=X64 -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/add.ll:86:13: error: expected string not found in input ; X32-NEXT: movl 12(%esp), %edx ^ <stdin>:76:2: note: scanning from here addl 12(%esp), %edx ^ <stdin>:99:2: note: possible intended match here movl 12(%esp), %eax ^ -- ******************** FAIL: LLVM :: CodeGen/X86/fp-in-intregs.ll (24 of 51) ******************** TEST 'LLVM :: CodeGen/X86/fp-in-intregs.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fp-in-intregs.ll -mtriple=i686-apple-macosx -mcpu=yonah | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fp-in-intregs.ll -- Exit Code: 1 Command Output (stderr): -- <stdin>:7:2: error: CHECK-NOT: string occurred! movd %xmm0, %eax ^ /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fp-in-intregs.ll:2:14: note: CHECK-NOT: pattern specified here ; CHECK-NOT: {{((xor|and)ps|movd)}} ^ -- ******************** FAIL: LLVM :: CodeGen/X86/long-setcc.ll (25 of 51) ******************** TEST 'LLVM :: CodeGen/X86/long-setcc.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/long-setcc.ll -march=x86 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/long-setcc.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/long-setcc.ll:19:10: error: expected string not found in input ; CHECK: cmp ^ <stdin>:16:2: note: scanning from here .align 16, 0x90 ^ <stdin>:24:3: note: possible intended match here .Ltmp1: ^ -- ******************** FAIL: LLVM :: CodeGen/X86/fp_constant_op.ll (26 of 51) ******************** TEST 'LLVM :: CodeGen/X86/fp_constant_op.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fp_constant_op.ll -march=x86 -x86-asm-syntax=intel -mcpu=i486 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fp_constant_op.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fp_constant_op.ll:31:10: error: expected string not found in input ; CHECK: fsub QWORD PTR ^ <stdin>:64:11: note: scanning from here foo_subr: # @foo_subr ^ <stdin>:67:2: note: possible intended match here fld QWORD PTR [ESP + 4] ^ -- ******************** FAIL: LLVM :: CodeGen/X86/peep-vector-extract-concat.ll (27 of 51) ******************** TEST 'LLVM :: CodeGen/X86/peep-vector-extract-concat.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/peep-vector-extract-concat.ll -mtriple=x86_64-linux -mattr=+sse2,-sse41 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/peep-vector-extract-concat.ll /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/peep-vector-extract-concat.ll -mtriple=x86_64-win32 -mattr=+sse2,-sse41 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/peep-vector-extract-concat.ll -check-prefix=WIN64 -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/peep-vector-extract-concat.ll:6:10: error: expected string not found in input ; WIN64: movss 12(%rcx), %xmm0 ^ <stdin>:1:2: note: scanning from here .def foo; ^ <stdin>:10:5: note: possible intended match here pshufd $3, (%rcx), %xmm0 # xmm0 = mem[3,0,0,0] ^ -- ******************** FAIL: LLVM :: CodeGen/X86/divide-by-constant.ll (28 of 51) ******************** TEST 'LLVM :: CodeGen/X86/divide-by-constant.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/divide-by-constant.ll -mcpu=generic -mtriple=i686-pc-linux-gnu -asm-verbose=0 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/divide-by-constant.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/divide-by-constant.ll:50:10: error: expected string not found in input ; CHECK: movl $365384439, %eax ^ <stdin>:55:2: note: scanning from here movl 4(%esp), %eax ^ <stdin>:56:2: note: possible intended match here movl $365384439, %ecx ^ -- ******************** FAIL: LLVM :: CodeGen/X86/legalize-shift-64.ll (29 of 51) ******************** TEST 'LLVM :: CodeGen/X86/legalize-shift-64.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc -mcpu=generic -mtriple=i686-unknown-unknown < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/legalize-shift-64.ll | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/legalize-shift-64.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/legalize-shift-64.ll:66:10: error: expected string not found in input ; CHECK: shldl ^ <stdin>:135:5: note: scanning from here shldl %cl, %ebp, %eax ^ <stdin>:137:2: note: possible intended match here shll %cl, %ebp ^ -- ******************** FAIL: LLVM :: CodeGen/X86/brcond.ll (30 of 51) ******************** TEST 'LLVM :: CodeGen/X86/brcond.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/brcond.ll -mtriple=i386-apple-darwin10 -mcpu=penryn | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/brcond.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/brcond.ll:8:10: error: expected string not found in input ; CHECK: xorb ^ <stdin>:4:9: note: scanning from here _test1: ## @test1 ^ <stdin>:7:2: note: possible intended match here xorl 4(%esp), %eax ^ -- ******************** FAIL: LLVM :: CodeGen/X86/sibcall-2.ll (31 of 51) ******************** TEST 'LLVM :: CodeGen/X86/sibcall-2.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sibcall-2.ll -mtriple=i386-apple-darwin -disable-fp-elim | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sibcall-2.ll -check-prefix=32 /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sibcall-2.ll -mtriple=x86_64-apple-darwin -disable-fp-elim | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sibcall-2.ll -check-prefix=64 -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sibcall-2.ll:9:7: error: expected string not found in input ; 32: jmpl *4(%esp) ^ <stdin>:4:6: note: scanning from here _t1: ## @t1 ^ <stdin>:18:2: note: possible intended match here movl 12(%ebp), %eax ^ -- ******************** FAIL: LLVM :: CodeGen/X86/pmulld.ll (32 of 51) ******************** TEST 'LLVM :: CodeGen/X86/pmulld.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/pmulld.ll -mtriple=x86_64-linux -mattr=+sse41 -asm-verbose=0 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/pmulld.ll /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/pmulld.ll -mtriple=x86_64-win32 -mattr=+sse41 -asm-verbose=0 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/pmulld.ll -check-prefix=WIN64 -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/pmulld.ll:9:15: error: WIN64-NEXT: is not on the line after the previous match ; WIN64-NEXT: movdqa (%rcx), %xmm0 ^ <stdin>:20:2: note: 'next' match was here movdqa (%rcx), %xmm0 ^ <stdin>:8:7: note: previous match ended here test1: ^ -- ******************** FAIL: LLVM :: CodeGen/X86/rot16.ll (33 of 51) ******************** TEST 'LLVM :: CodeGen/X86/rot16.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/rot16.ll -march=x86 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/rot16.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/rot16.ll:60:10: error: expected string not found in input ; CHECK: shldw $5 ^ <stdin>:71:7: note: scanning from here xbar: # @xbar ^ <stdin>:98:2: note: possible intended match here shldw $11, %cx, %ax ^ -- ******************** FAIL: LLVM :: CodeGen/X86/sse42.ll (34 of 51) ******************** TEST 'LLVM :: CodeGen/X86/sse42.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sse42.ll -mtriple=i686-apple-darwin9 -mattr=sse42 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sse42.ll -check-prefix=X32 /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sse42.ll -mtriple=x86_64-apple-darwin9 -mattr=sse42 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sse42.ll -check-prefix=X64 -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sse42.ll:12:8: error: expected string not found in input ; X32: crc32b 8(%esp), %eax ^ <stdin>:4:14: note: scanning from here _crc32_32_8: ## @crc32_32_8 ^ <stdin>:8:2: note: possible intended match here crc32b %cl, %eax ^ -- ******************** FAIL: LLVM :: CodeGen/X86/tailcallstack64.ll (35 of 51) ******************** TEST 'LLVM :: CodeGen/X86/tailcallstack64.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/tailcallstack64.ll -tailcallopt -mcpu=generic -mtriple=x86_64-linux -post-RA-scheduler=true | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/tailcallstack64.ll /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/tailcallstack64.ll -tailcallopt -mcpu=generic -mtriple=x86_64-win32 -post-RA-scheduler=true | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/tailcallstack64.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/tailcallstack64.ll:9:10: error: expected string not found in input ; CHECK: movl [[A1:32|144]](%rsp), [[R1:%e..]] ^ <stdin>:9:2: note: scanning from here movl 32(%rsp), %r10d ^ -- ******************** FAIL: LLVM :: CodeGen/X86/dbg-merge-loc-entry.ll (36 of 51) ******************** TEST 'LLVM :: CodeGen/X86/dbg-merge-loc-entry.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/dbg-merge-loc-entry.ll -o /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/test/CodeGen/X86/Output/dbg-merge-loc-entry.ll.tmp -filetype=obj /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llvm-dwarfdump -debug-dump=info /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/test/CodeGen/X86/Output/dbg-merge-loc-entry.ll.tmp | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/dbg-merge-loc-entry.ll /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/dbg-merge-loc-entry.ll -o /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/test/CodeGen/X86/Output/dbg-merge-loc-entry.ll.tmp -filetype=obj -regalloc=basic /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llvm-dwarfdump -debug-dump=info /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/test/CodeGen/X86/Output/dbg-merge-loc-entry.ll.tmp | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/dbg-merge-loc-entry.ll -- Exit Code: 1 Command Output (stderr): -- error: failed to compute relocation: X86_64_RELOC_UNSIGNED error: failed to compute relocation: X86_64_RELOC_UNSIGNED error: failed to compute relocation: X86_64_RELOC_UNSIGNED error: failed to compute relocation: X86_64_RELOC_UNSIGNED error: failed to compute relocation: X86_64_RELOC_UNSIGNED /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/dbg-merge-loc-entry.ll:9:9: error: expected string not found in input ;CHECK: DW_AT_location{{.*}}(<0x01> 55 ) ^ <stdin>:1:1: note: scanning from here /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/test/CodeGen/X86/Output/dbg-merge-loc-entry.ll.tmp: file format Mach-O 64-bit x86-64 ^ <stdin>:72:31: note: possible intended match here 0x0000008c: DW_AT_frame_base [DW_FORM_block1] (<0x01> 57 ) ^ -- ******************** FAIL: LLVM :: CodeGen/X86/sub-with-overflow.ll (37 of 51) ******************** TEST 'LLVM :: CodeGen/X86/sub-with-overflow.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sub-with-overflow.ll -mtriple=i686-linux | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sub-with-overflow.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sub-with-overflow.ll:22:10: error: expected string not found in input ; CHECK: subl 20(%esp) ^ <stdin>:6:8: note: scanning from here func1: # @func1 ^ <stdin>:9:2: note: possible intended match here movl 20(%esp), %ecx ^ -- ******************** FAIL: LLVM :: CodeGen/X86/rot32.ll (38 of 51) ******************** TEST 'LLVM :: CodeGen/X86/rot32.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/rot32.ll -march=x86 -mcpu=corei7 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/rot32.ll /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/rot32.ll -march=x86 -mcpu=core-avx2 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/rot32.ll --check-prefix=BMI2 -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/rot32.ll:74:10: error: expected string not found in input ; CHECK: shldl $7 ^ <stdin>:83:7: note: scanning from here xbar: # @xbar ^ <stdin>:122:2: note: possible intended match here shldl $25, %ecx, %eax ^ -- ******************** FAIL: LLVM :: CodeGen/X86/vec_insert-2.ll (39 of 51) ******************** TEST 'LLVM :: CodeGen/X86/vec_insert-2.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_insert-2.ll -march=x86 -mattr=+sse2,-sse41 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck --check-prefix=X32 /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_insert-2.ll /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_insert-2.ll -march=x86-64 -mattr=+sse2,-sse41 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck --check-prefix=X64 /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_insert-2.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_insert-2.ll:24:8: error: expected string not found in input ; X32: movhpd ^ <stdin>:32:5: note: scanning from here t3: # @t3 ^ <stdin>:34:2: note: possible intended match here movsd 4(%esp), %xmm1 ^ -- ******************** FAIL: LLVM :: CodeGen/X86/vec_set-6.ll (40 of 51) ******************** TEST 'LLVM :: CodeGen/X86/vec_set-6.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_set-6.ll -march=x86 -mattr=+sse2 -o /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/test/CodeGen/X86/Output/vec_set-6.ll.tmp grep movss /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/test/CodeGen/X86/Output/vec_set-6.ll.tmp | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./count 1 grep movq /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/test/CodeGen/X86/Output/vec_set-6.ll.tmp | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./count 1 grep shufps /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/test/CodeGen/X86/Output/vec_set-6.ll.tmp | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./count 1 -- Exit Code: 1 Command Output (stderr): -- Expected 1 lines, got 2. -- ******************** FAIL: LLVM :: CodeGen/X86/vec_set-2.ll (41 of 51) ******************** TEST 'LLVM :: CodeGen/X86/vec_set-2.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_set-2.ll -march=x86 -mattr=+sse2 | grep movss | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./count 1 /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_set-2.ll -march=x86 -mattr=+sse2 | grep movd | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./count 1 -- Exit Code: 1 Command Output (stderr): -- Expected 1 lines, got 2. -- ******************** FAIL: LLVM :: CodeGen/X86/trunc-to-bool.ll (42 of 51) ******************** TEST 'LLVM :: CodeGen/X86/trunc-to-bool.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/trunc-to-bool.ll -march=x86 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/trunc-to-bool.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/trunc-to-bool.ll:48:10: error: expected string not found in input ; CHECK: testb $1, 4(%esp) ^ <stdin>:52:8: note: scanning from here test4: # @test4 ^ <stdin>:55:2: note: possible intended match here testb $1, %al ^ -- ******************** FAIL: LLVM :: CodeGen/X86/win64_params.ll (43 of 51) ******************** TEST 'LLVM :: CodeGen/X86/win64_params.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/win64_params.ll -mtriple=x86_64-pc-win32 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/win64_params.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/win64_params.ll:7:10: error: expected string not found in input ; CHECK: movl 48(%rsp), %eax ^ <stdin>:1:2: note: scanning from here .def f6; ^ <stdin>:9:2: note: possible intended match here movl 40(%rsp), %eax ^ -- ******************** FAIL: LLVM :: CodeGen/X86/fma3-intrinsics.ll (44 of 51) ******************** TEST 'LLVM :: CodeGen/X86/fma3-intrinsics.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fma3-intrinsics.ll -mtriple=x86_64-pc-win32 -mcpu=core-avx2 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fma3-intrinsics.ll /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fma3-intrinsics.ll -mtriple=x86_64-pc-win32 -mattr=+fma,+fma4 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fma3-intrinsics.ll /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fma3-intrinsics.ll -mcpu=bdver2 -mtriple=x86_64-pc-win32 -mattr=-fma4 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fma3-intrinsics.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/fma3-intrinsics.ll:20:11: error: expected string not found in input ; CHECK: fmadd213ps {{.*\(%r.*}}, %ymm ^ <stdin>:27:14: note: scanning from here vfmadd213ps %xmm1, %xmm2, %xmm0 ^ <stdin>:41:3: note: possible intended match here vfmadd213ps %ymm1, %ymm2, %ymm0 ^ -- ******************** FAIL: LLVM :: CodeGen/X86/xor-icmp.ll (45 of 51) ******************** TEST 'LLVM :: CodeGen/X86/xor-icmp.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/xor-icmp.ll -march=x86 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/xor-icmp.ll -check-prefix=X32 /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/xor-icmp.ll -march=x86-64 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/xor-icmp.ll -check-prefix=X64 -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/xor-icmp.ll:8:8: error: expected string not found in input ; X32: xorb ^ <stdin>:6:4: note: scanning from here t: # @t ^ <stdin>:9:2: note: possible intended match here xorl 4(%esp), %eax ^ -- ******************** FAIL: LLVM :: CodeGen/X86/v2f32.ll (46 of 51) ******************** TEST 'LLVM :: CodeGen/X86/v2f32.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/v2f32.ll -mtriple=x86_64-linux -mcpu=penryn -asm-verbose=0 -o - | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/v2f32.ll -check-prefix=X64 /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/v2f32.ll -mtriple=x86_64-win32 -mcpu=penryn -asm-verbose=0 -o - | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/v2f32.ll -check-prefix=W64 /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/v2f32.ll -mcpu=yonah -march=x86 -mtriple=i386-linux-gnu -asm-verbose=0 -o - | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/v2f32.ll -check-prefix=X32 -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/v2f32.ll:44:13: error: W64-NEXT: is not on the line after the previous match ; W64-NEXT: movaps (%rcx), %xmm0 ^ <stdin>:33:2: note: 'next' match was here movaps (%rcx), %xmm0 ^ <stdin>:21:7: note: previous match ended here test2: ^ -- ******************** FAIL: LLVM :: CodeGen/X86/vec_splat.ll (47 of 51) ******************** TEST 'LLVM :: CodeGen/X86/vec_splat.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_splat.ll -march=x86 -mcpu=pentium4 -mattr=+sse2 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_splat.ll -check-prefix=SSE2 /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_splat.ll -march=x86 -mcpu=pentium4 -mattr=+sse3 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_splat.ll -check-prefix=SSE3 -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_splat.ll:33:9: error: expected string not found in input ; SSE3: movddup ^ <stdin>:21:12: note: scanning from here test_v2sd: # @test_v2sd ^ <stdin>:23:2: note: possible intended match here movsd 12(%esp), %xmm0 ^ -- ******************** FAIL: LLVM :: CodeGen/X86/sibcall.ll (48 of 51) ******************** TEST 'LLVM :: CodeGen/X86/sibcall.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sibcall.ll -mtriple=i686-linux -mcpu=core2 -mattr=+sse2 -asm-verbose=false | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sibcall.ll -check-prefix=32 /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sibcall.ll -mtriple=x86_64-linux -mcpu=core2 -mattr=+sse2 -asm-verbose=false | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sibcall.ll -check-prefix=64 -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sibcall.ll:60:7: error: expected string not found in input ; 32: jmpl *4(%esp) ^ <stdin>:44:2: note: scanning from here movl 4(%esp), %eax ^ -- ******************** FAIL: LLVM :: CodeGen/X86/sse41.ll (49 of 51) ******************** TEST 'LLVM :: CodeGen/X86/sse41.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sse41.ll -mtriple=i686-apple-darwin9 -mattr=sse41 -mcpu=penryn | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sse41.ll -check-prefix=X32 /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sse41.ll -mtriple=x86_64-apple-darwin9 -mattr=sse41 -mcpu=penryn | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sse41.ll -check-prefix=X64 -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sse41.ll:10:8: error: expected string not found in input ; X32: pinsrd $1, 4(%esp), %xmm0 ^ <stdin>:4:12: note: scanning from here _pinsrd_1: ## @pinsrd_1 ^ <stdin>:7:2: note: possible intended match here pinsrd $1, %eax, %xmm0 ^ -- ******************** FAIL: LLVM :: CodeGen/X86/vec_set-F.ll (50 of 51) ******************** TEST 'LLVM :: CodeGen/X86/vec_set-F.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_set-F.ll -mtriple=i686-linux -mattr=+sse2 | grep movq /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_set-F.ll -mtriple=i686-linux -mattr=+sse2 | grep movsd /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/vec_set-F.ll -mtriple=i686-linux -mattr=+sse2 | grep mov | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./count 3 -- Exit Code: 1 Command Output (stdout): -- movq (%eax), %xmm0 movsd (%esp), %xmm0 -- Command Output (stderr): -- Expected 3 lines, got 7. -- ******************** FAIL: LLVM :: CodeGen/X86/sse2.ll (51 of 51) ******************** TEST 'LLVM :: CodeGen/X86/sse2.ll' FAILED ******************** Script: -- /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./llc < /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sse2.ll -mtriple=i386-apple-darwin10 -mcpu=pentium4 -O3 | /usr/local/google/home/blaikie/dev/llvm/build/clang/debug/bin/./FileCheck /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sse2.ll -- Exit Code: 1 Command Output (stderr): -- /usr/local/google/home/blaikie/dev/llvm/src/test/CodeGen/X86/sse2.ll:13:15: error: expected string not found in input ; CHECK-NEXT: movapd (%eax), %xmm0 ^ <stdin>:7:2: note: scanning from here movaps (%eax), %xmm0 ^ -- ******************** Testing Time: 0.29s ******************** Failing Tests (51): LLVM :: CodeGen/AArch64/sibling-call.ll LLVM :: CodeGen/AArch64/tail-call.ll LLVM :: CodeGen/ARM/fast-isel-conversion.ll LLVM :: CodeGen/ARM/fp-arg-shuffle.ll LLVM :: CodeGen/Mips/2008-06-05-Carry.ll LLVM :: CodeGen/NVPTX/convert-int-sm20.ll LLVM :: CodeGen/PowerPC/anon_aggr.ll LLVM :: CodeGen/PowerPC/emptystruct.ll LLVM :: CodeGen/PowerPC/jaggedstructs.ll LLVM :: CodeGen/R600/rv7x0_count3.ll LLVM :: CodeGen/R600/store.ll LLVM :: CodeGen/R600/store.r600.ll LLVM :: CodeGen/R600/vselect.ll LLVM :: CodeGen/SystemZ/args-06.ll LLVM :: CodeGen/X86/2008-05-21-CoalescerBug.ll LLVM :: CodeGen/X86/2008-06-13-VolatileLoadStore.ll LLVM :: CodeGen/X86/2008-12-02-dagcombine-3.ll LLVM :: CodeGen/X86/add.ll LLVM :: CodeGen/X86/arg-cast.ll LLVM :: CodeGen/X86/atom-pad-short-functions.ll LLVM :: CodeGen/X86/brcond.ll LLVM :: CodeGen/X86/commute-two-addr.ll LLVM :: CodeGen/X86/compare_folding.ll LLVM :: CodeGen/X86/dbg-merge-loc-entry.ll LLVM :: CodeGen/X86/divide-by-constant.ll LLVM :: CodeGen/X86/fma3-intrinsics.ll LLVM :: CodeGen/X86/fold-call.ll LLVM :: CodeGen/X86/fp-in-intregs.ll LLVM :: CodeGen/X86/fp_constant_op.ll LLVM :: CodeGen/X86/legalize-shift-64.ll LLVM :: CodeGen/X86/long-setcc.ll LLVM :: CodeGen/X86/peep-vector-extract-concat.ll LLVM :: CodeGen/X86/pmulld.ll LLVM :: CodeGen/X86/rot16.ll LLVM :: CodeGen/X86/rot32.ll LLVM :: CodeGen/X86/sibcall-2.ll LLVM :: CodeGen/X86/sibcall.ll LLVM :: CodeGen/X86/sse2.ll LLVM :: CodeGen/X86/sse41.ll LLVM :: CodeGen/X86/sse42.ll LLVM :: CodeGen/X86/sub-with-overflow.ll LLVM :: CodeGen/X86/tailcallstack64.ll LLVM :: CodeGen/X86/trunc-to-bool.ll LLVM :: CodeGen/X86/v2f32.ll LLVM :: CodeGen/X86/vec_insert-2.ll LLVM :: CodeGen/X86/vec_set-2.ll LLVM :: CodeGen/X86/vec_set-6.ll LLVM :: CodeGen/X86/vec_set-F.ll LLVM :: CodeGen/X86/vec_splat.ll LLVM :: CodeGen/X86/win64_params.ll LLVM :: CodeGen/X86/xor-icmp.ll Unexpected Failures: 51 -------------- next part -------------- A non-text attachment was scrubbed... Name: debug_missing_param_selectiondag.diff Type: application/octet-stream Size: 5608 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130624/2daae598/attachment.obj>
Micah Villmow
2013-Jun-25 23:23 UTC
[LLVMdev] DebugInfo: Missing non-trivially-copyable parameters in SelectionDAG
David, I ran into this problem about 4 years ago while working on the AMDIL backend. I don't think I ever got around to solving it, but I did have some hacky work-arounds that would look at the IR itself and processes the arguments instead of looking at the MachineFunction/DAG code. As far as I can tell, this has not been fixed and is still a warning in the AMD SDK release notes. Micah -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of David Blaikie Sent: Monday, June 24, 2013 4:59 PM To: LLVM Developers Mailing List; Eric Christopher; Dan Gohman Subject: [LLVMdev] DebugInfo: Missing non-trivially-copyable parameters in SelectionDAG This is a bit premature to be considered a code review, but given how unfamiliar I am with SelectionDAG (& that I'm seeing somewhat more 'interesting' results compared to my change to FastISel) I wanted to get a bit of feedback to see if I was on the right track or had missed any obvious cases. I've attached my patch in progress (including a modification to the existing test case to demonstrate the missing parameter problem on i386 (though it also turns up in x86-64 in cases where the SelectionDAG kicks in, the simplest of which was "foo func(foo f, foo g) { return f; }" and 'g' goes missing)) and a log of the output of failing tests. Several of them seem to be (to my eye) minor perturbations of instruction selection or register allocation. Do these look like they're within the realm of reasonable changes in behavior from my change or is something really broken? (there's one test that seems more problematic & is giving "Bad machine code: Non-terminator instruction after the first terminator" errors - but it /looks/ like that could be reproduced without the unused parameters & without my change, but that's just my own naive guess.
Seemingly Similar Threads
- Strange regalloc behaviour: one more available register causes much worse allocation
- [LLVMdev] 3.6.1 -rc1 has been tagged. Testing begins.
- Strange regalloc behaviour: one more available register causes much worse allocation
- [LLVMdev] 64 bit special purpose registers
- [LLVMdev] 64 bit special purpose registers