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
/
Thumb2
/
thumb2-ldrd.ll
blob
a2cc17b03eb057d81c0dcffc44c10b2283a54f85
1
; RUN: llc < %s -mtriple=thumbv7-apple-darwin -mattr=+thumb2 | FileCheck %s
2
3
@b = external global ptr
4
5
define i64 @t(i64 %a) nounwind readonly {
6
entry:
7
; CHECK: ldrd
8
; CHECK: umull
9
%0 = load ptr, ptr @b, align 4
10
%1 = load i64, ptr %0, align 4
11
%2 = mul i64 %1, %a
12
ret i64 %2
13
}