projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a bug in GetKnownAlignment of packed structs.
[oota-llvm.git]
/
test
/
ExecutionEngine
/
test-logical.ll
diff --git
a/test/ExecutionEngine/test-logical.ll
b/test/ExecutionEngine/test-logical.ll
index 731f8e5a97a4622de5bf154d0fab130ae7b50985..86af2e224fcf538aaffe046af55f28b02a83d1b2 100644
(file)
--- a/
test/ExecutionEngine/test-logical.ll
+++ b/
test/ExecutionEngine/test-logical.ll
@@
-1,3
+1,6
@@
+; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
+; RUN: lli %t.bc > /dev/null
+
int %main() {
%A = and sbyte 4, 8
@@
-12,5
+15,9
@@
int %main() {
%B = or int %A, 7
%C = xor int %B, %A
+ %A = and long 4, 8
+ %B = or long %A, 7
+ %C = xor long %B, %A
+
ret int 0
}