From d7d8f6d000b887b553df81dedc34c0d10397c1aa Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 13 Jan 2010 01:51:43 +0000 Subject: [PATCH] Disable opt-ext pass to unbreak the build for now. llvm-svn: 93286 --- llvm/lib/CodeGen/LLVMTargetMachine.cpp | 1 - llvm/test/CodeGen/X86/2008-08-05-SpillerBug.ll | 2 +- llvm/test/CodeGen/X86/sext-subreg.ll | 1 + llvm/test/CodeGen/X86/stack-color-with-reg.ll | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp index 733995f82be8..4ab6a9443416 100644 --- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp +++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp @@ -325,7 +325,6 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM, /* allowDoubleDefs= */ true); if (OptLevel != CodeGenOpt::None) { - PM.add(createOptimizeExtsPass()); if (!DisableMachineLICM) PM.add(createMachineLICMPass()); if (!DisableMachineSink) diff --git a/llvm/test/CodeGen/X86/2008-08-05-SpillerBug.ll b/llvm/test/CodeGen/X86/2008-08-05-SpillerBug.ll index 9361a6f72942..67e14ffae5e6 100644 --- a/llvm/test/CodeGen/X86/2008-08-05-SpillerBug.ll +++ b/llvm/test/CodeGen/X86/2008-08-05-SpillerBug.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -mtriple=i386-apple-darwin -disable-fp-elim -stats |& grep asm-printer | grep 57 +; RUN: llc < %s -mtriple=i386-apple-darwin -disable-fp-elim -stats |& grep asm-printer | grep 58 ; PR2568 @g_3 = external global i16 ; [#uses=1] diff --git a/llvm/test/CodeGen/X86/sext-subreg.ll b/llvm/test/CodeGen/X86/sext-subreg.ll index b2b9f8121fd6..06964cefc715 100644 --- a/llvm/test/CodeGen/X86/sext-subreg.ll +++ b/llvm/test/CodeGen/X86/sext-subreg.ll @@ -1,5 +1,6 @@ ; RUN: llc < %s -march=x86-64 | FileCheck %s ; rdar://7529457 +; XFAIL: * define i64 @t(i64 %A, i64 %B, i32* %P, i64 *%P2) nounwind { ; CHECK: t: diff --git a/llvm/test/CodeGen/X86/stack-color-with-reg.ll b/llvm/test/CodeGen/X86/stack-color-with-reg.ll index be9f3af308a5..d7623920ff28 100644 --- a/llvm/test/CodeGen/X86/stack-color-with-reg.ll +++ b/llvm/test/CodeGen/X86/stack-color-with-reg.ll @@ -1,5 +1,5 @@ ; RUN: llc < %s -mtriple=x86_64-apple-darwin10 -relocation-model=pic -disable-fp-elim -color-ss-with-regs -stats -info-output-file - > %t -; RUN: grep stackcoloring %t | grep "stack slot refs replaced with reg refs" | grep 9 +; RUN: grep stackcoloring %t | grep "stack slot refs replaced with reg refs" | grep 6 type { [62 x %struct.Bitvec*] } ; type %0 type { i8* } ; type %1