mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Fix CR/LF line endings in test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222120 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
; RUN: llc < %s -O2 -march=x86-64 | FileCheck %s
|
; RUN: llc < %s -O2 -march=x86-64 | FileCheck %s
|
||||||
; Checks that a zeroing mov is inserted for the trunc/zext pair even when
|
; Checks that a zeroing mov is inserted for the trunc/zext pair even when
|
||||||
; the source of the zext is an AssertSext node
|
; the source of the zext is an AssertSext node
|
||||||
; PR20494
|
; PR20494
|
||||||
|
|
||||||
define i64 @main(i64 %a) {
|
define i64 @main(i64 %a) {
|
||||||
; CHECK-LABEL: main
|
; CHECK-LABEL: main
|
||||||
; CHECK: movl %e{{..}}, %eax
|
; CHECK: movl %e{{..}}, %eax
|
||||||
; CHECK: ret
|
; CHECK: ret
|
||||||
%or = or i64 %a, -2
|
%or = or i64 %a, -2
|
||||||
%trunc = trunc i64 %or to i32
|
%trunc = trunc i64 %or to i32
|
||||||
br label %l
|
br label %l
|
||||||
l:
|
l:
|
||||||
%ext = zext i32 %trunc to i64
|
%ext = zext i32 %trunc to i64
|
||||||
ret i64 %ext
|
ret i64 %ext
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user