Revert while I debug the tests that use march but not mtriple.
authorRafael Espindola <rafael.espindola@gmail.com>
Mon, 2 May 2011 15:42:31 +0000 (15:42 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Mon, 2 May 2011 15:42:31 +0000 (15:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130691 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCMCAsmInfo.cpp
test/CodeGen/PowerPC/2008-12-12-EH.ll
test/CodeGen/PowerPC/ppc-prologue.ll

index 9e508cc9babb9a93f497b86874327a5d81973a71..d1178dd7e1ff022134b556d55f641b07a4174560 100644 (file)
@@ -17,7 +17,7 @@ using namespace llvm;
 PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) {
   PCSymbol = ".";
   CommentString = ";";
-  ExceptionsType = ExceptionHandling::DwarfCFI;
+  ExceptionsType = ExceptionHandling::DwarfTable;
 
   if (!is64Bit)
     Data64bitsDirective = 0;      // We can't emit a 64-bit unit in PPC32 mode.
index a2a5e9e39641fe6efeb0a90434e549f565ededc6..2315e36ff465cf50648281ed35fb87cf27bbbd13 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -disable-cfi -march=ppc32 -mtriple=powerpc-apple-darwin9 | grep ^__Z1fv.eh
+; RUN: llc < %s  -march=ppc32 -mtriple=powerpc-apple-darwin9 | grep ^__Z1fv.eh
 
 define void @_Z1fv() {
 entry:
index 553837121a36e96c6edbc2ce53eb374e57ae6827..2ebfd3c319fce1381386c92e630956ac9c8dccc3 100644 (file)
@@ -5,7 +5,9 @@ define i32 @_Z4funci(i32 %a) ssp {
 ; CHECK-NEXT:  stw r31, -4(r1)
 ; CHECK-NEXT:  stw r0, 8(r1)
 ; CHECK-NEXT:  stwu r1, -80(r1)
-; CHECK:  mr r31, r1
+; CHECK-NEXT: Ltmp0:
+; CHECK-NEXT:  mr r31, r1
+; CHECK-NEXT: Ltmp1:
 entry:
   %a_addr = alloca i32                            ; <i32*> [#uses=2]
   %retval = alloca i32                            ; <i32*> [#uses=2]