diff options
Diffstat (limited to 'test/CodeGen/Thumb/long.ll')
-rw-r--r-- | test/CodeGen/Thumb/long.ll | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/test/CodeGen/Thumb/long.ll b/test/CodeGen/Thumb/long.ll index 197e19e..2449e5a 100644 --- a/test/CodeGen/Thumb/long.ll +++ b/test/CodeGen/Thumb/long.ll @@ -1,10 +1,5 @@ -; RUN: llc < %s -march=thumb | \ -; RUN: grep mvn | count 1 -; RUN: llc < %s -march=thumb | \ -; RUN: grep adc | count 1 -; RUN: llc < %s -march=thumb | \ -; RUN: grep sbc | count 1 -; RUN: llc < %s -mtriple=thumb-apple-darwin | grep __muldi3 +; RUN: llc -mtriple=thumb-eabi %s -o - | FileCheck %s +; RUN: llc -mtriple=thumb-apple-darwin %s -o - | FileCheck %s -check-prefix CHECK-DARWIN define i64 @f1() { entry: @@ -74,3 +69,14 @@ entry: ret i64 %retval } +; CHECK: mvn +; CHECK-NOT: mvn + +; CHECK: adc +; CHECK-NOT: adc + +; CHECK: sbc +; CHECK-NOT: sbc + +; CHECK-DARWIN: __muldi3 + |