[llvm-commits] [llvm] r130690 - in /llvm/trunk: lib/Target/PowerPC/PPCMCAsmInfo.cpp test/CodeGen/PowerPC/2008-12-12-EH.ll test/CodeGen/PowerPC/ppc-prologue.ll

Rafael Espindola rafael.espindola at gmail.com
Mon May 2 08:00:52 PDT 2011


Author: rafael
Date: Mon May  2 10:00:52 2011
New Revision: 130690

URL: http://llvm.org/viewvc/llvm-project?rev=130690&view=rev
Log:
Move ppc OS X to cfi too. I am building it on an old ppc mini, but it will take some time.

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

Modified: llvm/trunk/lib/Target/PowerPC/PPCMCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCMCAsmInfo.cpp?rev=130690&r1=130689&r2=130690&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCMCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCMCAsmInfo.cpp Mon May  2 10:00:52 2011
@@ -17,7 +17,7 @@
 PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) {
   PCSymbol = ".";
   CommentString = ";";
-  ExceptionsType = ExceptionHandling::DwarfTable;
+  ExceptionsType = ExceptionHandling::DwarfCFI;
 
   if (!is64Bit)
     Data64bitsDirective = 0;      // We can't emit a 64-bit unit in PPC32 mode.

Modified: llvm/trunk/test/CodeGen/PowerPC/2008-12-12-EH.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/2008-12-12-EH.ll?rev=130690&r1=130689&r2=130690&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/2008-12-12-EH.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/2008-12-12-EH.ll Mon May  2 10:00:52 2011
@@ -1,4 +1,4 @@
-; RUN: llc < %s  -march=ppc32 -mtriple=powerpc-apple-darwin9 | grep ^__Z1fv.eh
+; RUN: llc < %s -disable-cfi -march=ppc32 -mtriple=powerpc-apple-darwin9 | grep ^__Z1fv.eh
 
 define void @_Z1fv() {
 entry:

Modified: llvm/trunk/test/CodeGen/PowerPC/ppc-prologue.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc-prologue.ll?rev=130690&r1=130689&r2=130690&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc-prologue.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc-prologue.ll Mon May  2 10:00:52 2011
@@ -5,9 +5,7 @@
 ; CHECK-NEXT:  stw r31, -4(r1)
 ; CHECK-NEXT:  stw r0, 8(r1)
 ; CHECK-NEXT:  stwu r1, -80(r1)
-; CHECK-NEXT: Ltmp0:
-; CHECK-NEXT:  mr r31, r1
-; CHECK-NEXT: Ltmp1:
+; CHECK:  mr r31, r1
 entry:
   %a_addr = alloca i32                            ; <i32*> [#uses=2]
   %retval = alloca i32                            ; <i32*> [#uses=2]





More information about the llvm-commits mailing list