diff options
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/Thumb2/thumb2-select.ll | 1 | ||||
-rw-r--r-- | test/CodeGen/Thumb2/thumb2-select_xform.ll | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/Thumb2/thumb2-select.ll b/test/CodeGen/Thumb2/thumb2-select.ll index 57f6156..1d51bc3 100644 --- a/test/CodeGen/Thumb2/thumb2-select.ll +++ b/test/CodeGen/Thumb2/thumb2-select.ll @@ -4,6 +4,7 @@ ; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep movle | count 1 ; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep movls | count 1 ; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep movhi | count 1 +; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep it | count 6 define i32 @f1(i32 %a.s) { entry: diff --git a/test/CodeGen/Thumb2/thumb2-select_xform.ll b/test/CodeGen/Thumb2/thumb2-select_xform.ll index 9da4ebe..5332c2d 100644 --- a/test/CodeGen/Thumb2/thumb2-select_xform.ll +++ b/test/CodeGen/Thumb2/thumb2-select_xform.ll @@ -1,5 +1,6 @@ ; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep mov | count 3 ; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep mvn | count 1 +; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | grep it | count 3 define i32 @t1(i32 %a, i32 %b, i32 %c) nounwind { %tmp1 = icmp sgt i32 %c, 10 |