[llvm-commits] CVS: llvm/test/CodeGen/ARM/hello.ll insn-sched1.ll ldm.ll

Lauro Ramos Venancio lauro.venancio at gmail.com
Wed Jan 31 05:13:03 PST 2007



Changes in directory llvm/test/CodeGen/ARM:

hello.ll updated: 1.3 -> 1.4
insn-sched1.ll updated: 1.2 -> 1.3
ldm.ll updated: 1.3 -> 1.4
---
Log message:

ARM fix: Miscompilation when frame pointer can't be eliminated. Uninitialized frame pointer register is used.


---
Diffs of the changes:  (+3 -3)

 hello.ll       |    2 +-
 insn-sched1.ll |    2 +-
 ldm.ll         |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


Index: llvm/test/CodeGen/ARM/hello.ll
diff -u llvm/test/CodeGen/ARM/hello.ll:1.3 llvm/test/CodeGen/ARM/hello.ll:1.4
--- llvm/test/CodeGen/ARM/hello.ll:1.3	Fri Jan 19 03:20:23 2007
+++ llvm/test/CodeGen/ARM/hello.ll	Wed Jan 31 07:12:46 2007
@@ -1,6 +1,6 @@
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm &&
 ; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-linux | grep mov | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin | grep mov | wc -l | grep 2
+; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin --disable-fp-elim | grep mov | wc -l | grep 2
 
 %str = internal constant [12 x sbyte] c"Hello World\00"
 


Index: llvm/test/CodeGen/ARM/insn-sched1.ll
diff -u llvm/test/CodeGen/ARM/insn-sched1.ll:1.2 llvm/test/CodeGen/ARM/insn-sched1.ll:1.3
--- llvm/test/CodeGen/ARM/insn-sched1.ll:1.2	Mon Jan 22 12:56:11 2007
+++ llvm/test/CodeGen/ARM/insn-sched1.ll	Wed Jan 31 07:12:46 2007
@@ -1,5 +1,5 @@
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mattr=+v6 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin -mattr=+v6 | grep mov | wc -l | grep 2
+; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin -mattr=+v6 --disable-fp-elim | grep mov | wc -l | grep 2
 
 int %test(int %x) {
 	%tmp = cast int %x to short


Index: llvm/test/CodeGen/ARM/ldm.ll
diff -u llvm/test/CodeGen/ARM/ldm.ll:1.3 llvm/test/CodeGen/ARM/ldm.ll:1.4
--- llvm/test/CodeGen/ARM/ldm.ll:1.3	Mon Jan 22 17:01:22 2007
+++ llvm/test/CodeGen/ARM/ldm.ll	Wed Jan 31 07:12:46 2007
@@ -1,7 +1,7 @@
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm &&
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "ldmia" | wc -l | grep 2 &&
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep "ldmib" | wc -l | grep 1 &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin | grep "ldmfd sp\!" | wc -l | grep 3
+; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin --disable-fp-elim | grep "ldmfd sp\!" | wc -l | grep 3
 
 %X = external global [0 x int]
 






More information about the llvm-commits mailing list