Add 130690 back.

llvm-svn: 130693
This commit is contained in:
Rafael Espindola 2011-05-02 15:58:16 +00:00
parent e406670954
commit 5164e6e8b2
3 changed files with 3 additions and 5 deletions

View File

@ -17,7 +17,7 @@ using namespace llvm;
PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) { PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) {
PCSymbol = "."; PCSymbol = ".";
CommentString = ";"; CommentString = ";";
ExceptionsType = ExceptionHandling::DwarfTable; ExceptionsType = ExceptionHandling::DwarfCFI;
if (!is64Bit) if (!is64Bit)
Data64bitsDirective = 0; // We can't emit a 64-bit unit in PPC32 mode. Data64bitsDirective = 0; // We can't emit a 64-bit unit in PPC32 mode.

View File

@ -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() { define void @_Z1fv() {
entry: entry:

View File

@ -5,9 +5,7 @@ define i32 @_Z4funci(i32 %a) ssp {
; CHECK-NEXT: stw r31, -4(r1) ; CHECK-NEXT: stw r31, -4(r1)
; CHECK-NEXT: stw r0, 8(r1) ; CHECK-NEXT: stw r0, 8(r1)
; CHECK-NEXT: stwu r1, -80(r1) ; CHECK-NEXT: stwu r1, -80(r1)
; CHECK-NEXT: Ltmp0: ; CHECK: mr r31, r1
; CHECK-NEXT: mr r31, r1
; CHECK-NEXT: Ltmp1:
entry: entry:
%a_addr = alloca i32 ; <i32*> [#uses=2] %a_addr = alloca i32 ; <i32*> [#uses=2]
%retval = alloca i32 ; <i32*> [#uses=2] %retval = alloca i32 ; <i32*> [#uses=2]