repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
AArch64
/
arm64-zext.ll
blob
9470708ebdc07483b46815ee9ec2af2016aa90d4
1
; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s
2
3
define i64 @foo(i32 %a, i32 %b) nounwind readnone ssp {
4
entry:
5
; CHECK-LABEL: foo:
6
; CHECK: add w0, w1, w0
7
; CHECK: ret
8
%add = add i32 %b, %a
9
%conv = zext i32 %add to i64
10
ret i64 %conv
11
}