mirror of
https://github.com/RPCS3/llvm.git
synced 2026-08-28 05:10:05 -04:00
9f2c723874
These all used 'CHECK-NOT' which isn't necessary if we have complete checks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306981 91177308-0d34-0410-b5e6-96231b3b80d8
15 lines
397 B
LLVM
15 lines
397 B
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s
|
|
; rdar://7570931
|
|
|
|
define i64 @foo(i64 %a, i64 %b) nounwind {
|
|
; CHECK-LABEL: foo:
|
|
; CHECK: # BB#0:
|
|
; CHECK-NEXT: leal (%rdi,%rsi), %eax
|
|
; CHECK-NEXT: retq
|
|
%c = add i64 %a, %b
|
|
%d = trunc i64 %c to i32
|
|
%e = zext i32 %d to i64
|
|
ret i64 %e
|
|
}
|