projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove the 'N' modifier from llvm-ar.
[oota-llvm.git]
/
test
/
CodeGen
/
SPARC
/
64bit.ll
diff --git
a/test/CodeGen/SPARC/64bit.ll
b/test/CodeGen/SPARC/64bit.ll
index c8569419a21eea44fb069eae05408fd11d05b431..a5ea4d906715ff9e9a7e487cffc4cfaa09d93ba8 100644
(file)
--- a/
test/CodeGen/SPARC/64bit.ll
+++ b/
test/CodeGen/SPARC/64bit.ll
@@
-161,6
+161,14
@@
define i64 @loads(i64* %p, i32* %q, i32* %r, i16* %s) {
ret i64 %x3
}
+; CHECK: load_bool
+; CHECK: ldub [%i0], %i0
+define i64 @load_bool(i1* %p) {
+ %a = load i1* %p
+ %b = zext i1 %a to i64
+ ret i64 %b
+}
+
; CHECK: stores
; CHECK: ldx [%i0+8], [[R:%[goli][0-7]]]
; CHECK: stx [[R]], [%i0+16]