mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-11 13:29:36 +00:00
![Evan Cheng](/assets/img/avatar_default.png)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93152 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
328 B
LLVM
12 lines
328 B
LLVM
; RUN: llc < %s -mtriple=x86_64-apple-darwin | FileCheck %s
|
|
; rdar://7527734
|
|
|
|
define i32 @test(i32 %x) nounwind readnone ssp {
|
|
entry:
|
|
; CHECK: test:
|
|
; CHECK: leal 3(%rdi), %eax
|
|
%0 = shl i32 %x, 5 ; <i32> [#uses=1]
|
|
%1 = or i32 %0, 3 ; <i32> [#uses=1]
|
|
ret i32 %1
|
|
}
|