mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
Temporarily enable MI-Sched on X86.
Sorry for the unit test churn. I'll try to make the change permanently next time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184705 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -mcpu=generic -march=x86 | FileCheck %s
|
||||
; RUN: llc < %s -mcpu=generic -march=x86 -enable-misched=false | FileCheck %s
|
||||
|
||||
;; Simple case
|
||||
define i32 @test1(i8 %x) nounwind readnone {
|
||||
@@ -10,7 +10,7 @@ define i32 @test1(i8 %x) nounwind readnone {
|
||||
; CHECK: movzbl
|
||||
; CHECK-NEXT: andl {{.*}}224
|
||||
|
||||
;; Multiple uses of %x but easily extensible.
|
||||
;; Multiple uses of %x but easily extensible.
|
||||
define i32 @test2(i8 %x) nounwind readnone {
|
||||
%A = and i8 %x, -32
|
||||
%B = zext i8 %A to i32
|
||||
@@ -21,8 +21,8 @@ define i32 @test2(i8 %x) nounwind readnone {
|
||||
}
|
||||
; CHECK: test2
|
||||
; CHECK: movzbl
|
||||
; CHECK: orl $63
|
||||
; CHECK: andl $224
|
||||
; CHECK: orl $63
|
||||
|
||||
declare void @use(i32, i8)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user