diff options
Diffstat (limited to 'test/CodeGen/Mips/longbranch.ll')
-rw-r--r-- | test/CodeGen/Mips/longbranch.ll | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/CodeGen/Mips/longbranch.ll b/test/CodeGen/Mips/longbranch.ll index ef95d0011c..0227b88fbc 100644 --- a/test/CodeGen/Mips/longbranch.ll +++ b/test/CodeGen/Mips/longbranch.ll @@ -1,12 +1,14 @@ -; RUN: llc -march=mipsel -force-mips-long-branch < %s | FileCheck %s +; RUN: llc -march=mipsel -force-mips-long-branch < %s | FileCheck %s -check-prefix=O32 +; RUN: llc -march=mips64el -mcpu=mips64 -mattr=n64 -force-mips-long-branch < %s | FileCheck %s -check-prefix=N64 @g0 = external global i32 define void @foo1(i32 %s) nounwind { entry: -; CHECK: lw $[[R0:[a-z0-9]+]], %got($BB0_3)(${{[a-z0-9]+}}) -; CHECK: addiu $[[R1:[a-z0-9]+]], $[[R0]], %lo($BB0_3) -; CHECK: jr $[[R1]] +; O32: bal +; N64: bal +; N64: highest +; N64: higher %tobool = icmp eq i32 %s, 0 br i1 %tobool, label %if.end, label %if.then |