diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/Assembler/2006-05-26-VarargsCallEncode.ll | 2 | ||||
| -rw-r--r-- | test/Assembler/2007-02-07-UpgradeCSRETCC.ll | 4 | ||||
| -rw-r--r-- | test/Assembler/2007-11-26-AttributeOverload.ll | 4 | ||||
| -rw-r--r-- | test/Assembler/2007-11-27-AutoUpgradeAttributes.ll | 3 | ||||
| -rw-r--r-- | test/Feature/paramattrs.ll | 2 | ||||
| -rw-r--r-- | test/Integer/paramattrs_bt.ll | 2 | ||||
| -rw-r--r-- | test/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll | 2 |
7 files changed, 11 insertions, 8 deletions
diff --git a/test/Assembler/2006-05-26-VarargsCallEncode.ll b/test/Assembler/2006-05-26-VarargsCallEncode.ll index c87b19d..c36bcfa 100644 --- a/test/Assembler/2006-05-26-VarargsCallEncode.ll +++ b/test/Assembler/2006-05-26-VarargsCallEncode.ll @@ -1,5 +1,5 @@ ; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | \ -; RUN: grep {tail call void (\{ \}\\* sret} +; RUN: grep {tail call void.*sret null} declare csretcc void %foo({}*, ...) diff --git a/test/Assembler/2007-02-07-UpgradeCSRETCC.ll b/test/Assembler/2007-02-07-UpgradeCSRETCC.ll index 745c499..da6faa6 100644 --- a/test/Assembler/2007-02-07-UpgradeCSRETCC.ll +++ b/test/Assembler/2007-02-07-UpgradeCSRETCC.ll @@ -1,7 +1,5 @@ -; For PR1187 ; RUN: llvm-upgrade < %s > /dev/null -; XFAIL: * -; Un-XFAIL this when PR1146 is fixed. +; PR1187 %mystruct = type { int, double } %glob = global %mystruct { int 3, double 42.0 } diff --git a/test/Assembler/2007-11-26-AttributeOverload.ll b/test/Assembler/2007-11-26-AttributeOverload.ll new file mode 100644 index 0000000..9aec8d9 --- /dev/null +++ b/test/Assembler/2007-11-26-AttributeOverload.ll @@ -0,0 +1,4 @@ +; RUN: not llvm-as < %s + +declare i32 @atoi(i8*) nounwind readonly +declare i32 @atoi(i8*) diff --git a/test/Assembler/2007-11-27-AutoUpgradeAttributes.ll b/test/Assembler/2007-11-27-AutoUpgradeAttributes.ll new file mode 100644 index 0000000..ee260ea --- /dev/null +++ b/test/Assembler/2007-11-27-AutoUpgradeAttributes.ll @@ -0,0 +1,3 @@ +; RUN: llvm-as < %s + +@FP = weak global i8 (...) signext * null diff --git a/test/Feature/paramattrs.ll b/test/Feature/paramattrs.ll index 24c46dc..3bee617 100644 --- a/test/Feature/paramattrs.ll +++ b/test/Feature/paramattrs.ll @@ -14,7 +14,7 @@ declare void @exit(i32) noreturn nounwind define i32 @main(i32 inreg %argc, i8 ** inreg %argv) nounwind { %val = trunc i32 %argc to i16 - %res1 = call i16 (i16 signext) signext *@test(i16 %val) + %res1 = call i16 (i16 signext) signext *@test(i16 signext %val) signext %two = add i16 %res1, %res1 %res2 = call i8 @test2(i16 %two zeroext) zeroext %retVal = sext i16 %two to i32 diff --git a/test/Integer/paramattrs_bt.ll b/test/Integer/paramattrs_bt.ll index e5b6a3e..47ef753 100644 --- a/test/Integer/paramattrs_bt.ll +++ b/test/Integer/paramattrs_bt.ll @@ -11,7 +11,7 @@ declare i8 @"test2" (i16 zeroext %a2) zeroext define i33 @main(i33 %argc, i8 **%argv) { %val = trunc i33 %argc to i16 - %res = call i16 (i16 signext) signext *@test(i16 %val) + %res = call i16 (i16 signext) signext *@test(i16 signext %val) signext %two = add i16 %res, %res %res2 = call i8 @test2(i16 %two zeroext) zeroext %retVal = sext i16 %two to i33 diff --git a/test/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll b/test/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll index 48a1458..d067ac0 100644 --- a/test/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll +++ b/test/Transforms/SimplifyCFG/2006-10-29-InvokeCrash.ll @@ -1,6 +1,4 @@ ; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output -; XFAIL: * -; Un-XFAIL this when PR1146 is finished. %struct..4._102 = type { %struct.QVectorData* } %struct..5._125 = type { %struct.QMapData* } |
