repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Alignment][NFC] migrate DataLayout internal struct to llvm::Align
[llvm-core.git]
/
test
/
CodeGen
/
AArch64
/
GlobalISel
/
gisel-fail-intermediate-legalizer.ll
blob
e333f742e04dfe44f56121db21b7bc68f0726371
1
;RUN: llc -mtriple=aarch64-unknown-unknown -o - -global-isel -global-isel-abort=2 %s 2>&1 | FileCheck %s
2
; CHECK: fallback
3
; CHECK-LABEL: foo
4
define i16 @foo(half* %p) {
5
%tmp0 = load half, half* %p
6
%tmp1 = fptoui half %tmp0 to i16
7
ret i16 %tmp1
8
}