Skip to content

Commit

Permalink
[X86] Re-enable the machine verifier after fixing more tests
Browse files Browse the repository at this point in the history
Was disabled again in r345528. Hopefully this the bots.

llvm-svn: 345593
  • Loading branch information
francisvm committed Oct 30, 2018
1 parent 0c4a184 commit 0e237d3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 0 additions & 4 deletions llvm/lib/Target/X86/X86TargetMachine.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ class X86TargetMachine final : public LLVMTargetMachine {
TargetLoweringObjectFile *getObjFileLowering() const override {
return TLOF.get();
}

bool isMachineVerifierClean() const override {
return false;
}
};

} // end namespace llvm
Expand Down
3 changes: 2 additions & 1 deletion llvm/test/DebugInfo/Generic/linear-dbg-value.ll
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
; RUN: llc -stop-before=expand-isel-pseudos -pre-RA-sched=linearize < %s | FileCheck %s
; FIXME: Fix machine verifier issues and remove -verify-machineinstrs=0. PR39452.
; RUN: llc -stop-before=expand-isel-pseudos -pre-RA-sched=linearize -verify-machineinstrs=0 < %s | FileCheck %s
source_filename = "linear-dbg-value.ll"

; Function Attrs: nounwind readonly uwtable
Expand Down
4 changes: 4 additions & 0 deletions llvm/test/ThinLTO/X86/cfi-devirt.ll
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
; RUN: opt -thinlto-bc -o %t.o %s

; Legacy PM
; FIXME: Fix machine verifier issues and remove -verify-machineinstrs=0. PR39436.
; RUN: llvm-lto2 run %t.o -save-temps -pass-remarks=. \
; RUN: -verify-machineinstrs=0 \
; RUN: -o %t3 \
; RUN: -r=%t.o,test,px \
; RUN: -r=%t.o,_ZN1A1nEi,p \
Expand All @@ -22,7 +24,9 @@
; RUN: llvm-dis %t3.1.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR

; New PM
; FIXME: Fix machine verifier issues and remove -verify-machineinstrs=0. PR39436.
; RUN: llvm-lto2 run %t.o -save-temps -use-new-pm -pass-remarks=. \
; RUN: -verify-machineinstrs=0 \
; RUN: -o %t3 \
; RUN: -r=%t.o,test,px \
; RUN: -r=%t.o,_ZN1A1nEi,p \
Expand Down
4 changes: 4 additions & 0 deletions llvm/test/ThinLTO/X86/devirt-after-icp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
; RUN: opt -thinlto-bc -o %t.o %s

; Legacy PM
; FIXME: Fix machine verifier issues and remove -verify-machineinstrs=0. PR39436.
; RUN: llvm-lto2 run %t.o -save-temps -pass-remarks=. \
; RUN: -verify-machineinstrs=0 \
; RUN: -o %t3 \
; RUN: -r=%t.o,_Z3bazP1A,px \
; RUN: -r=%t.o,_ZN1A3fooEv, \
Expand All @@ -63,7 +65,9 @@
; RUN: llvm-dis %t3.1.4.opt.bc -o - | FileCheck %s --check-prefix=CHECK-IR

; New PM
; FIXME: Fix machine verifier issues and remove -verify-machineinstrs=0. PR39436.
; RUN: llvm-lto2 run %t.o -save-temps -use-new-pm -pass-remarks=. \
; RUN: -verify-machineinstrs=0 \
; RUN: -o %t3 \
; RUN: -r=%t.o,_Z3bazP1A,px \
; RUN: -r=%t.o,_ZN1A3fooEv, \
Expand Down

0 comments on commit 0e237d3

Please sign in to comment.