diff options
| author | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-05-20 14:18:59 +0000 |
|---|---|---|
| committer | Daniel Sanders <daniel.sanders@imgtec.com> | 2015-05-20 14:18:59 +0000 |
| commit | 69c6008e493566df7115784d9ed0f382fd979825 (patch) | |
| tree | d82185fcede40530ee18771c630f9765f800a959 /llvm/test/CodeGen/Mips/octeon.ll | |
| parent | 56b12d75bf20187f96fa04573e45813b8bc8f1b8 (diff) | |
| download | bcm5719-llvm-69c6008e493566df7115784d9ed0f382fd979825.tar.gz bcm5719-llvm-69c6008e493566df7115784d9ed0f382fd979825.zip | |
Revert r237789 - [mips] The naming convention for private labels is ABI dependant.
It works, but I've noticed that I missed several callers of createMCAsmInfo()
and many don't have a TargetMachine to provide.
llvm-svn: 237792
Diffstat (limited to 'llvm/test/CodeGen/Mips/octeon.ll')
| -rw-r--r-- | llvm/test/CodeGen/Mips/octeon.ll | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/test/CodeGen/Mips/octeon.ll b/llvm/test/CodeGen/Mips/octeon.ll index 1af0acab10c..499ce3c1ddb 100644 --- a/llvm/test/CodeGen/Mips/octeon.ll +++ b/llvm/test/CodeGen/Mips/octeon.ll @@ -91,9 +91,9 @@ entry: define i64 @bbit0(i64 %a) nounwind { entry: ; ALL-LABEL: bbit0: -; OCTEON: bbit0 $4, 3, [[BB0:(\$|.L)BB[0-9_]+]] +; OCTEON: bbit0 $4, 3, $[[BB0:BB[0-9_]+]] ; MIPS64: andi $[[T0:[0-9]+]], $4, 8 -; MIPS64: bnez $[[T0]], [[BB0:(\$|.L)BB[0-9_]+]] +; MIPS64: bnez $[[T0]], $[[BB0:BB[0-9_]+]] %bit = and i64 %a, 8 %res = icmp eq i64 %bit, 0 br i1 %res, label %endif, label %if @@ -107,11 +107,11 @@ endif: define i64 @bbit032(i64 %a) nounwind { entry: ; ALL-LABEL: bbit032: -; OCTEON: bbit032 $4, 3, [[BB0:(\$|.L)BB[0-9_]+]] +; OCTEON: bbit032 $4, 3, $[[BB0:BB[0-9_]+]] ; MIPS64: daddiu $[[T0:[0-9]+]], $zero, 1 ; MIPS64: dsll $[[T1:[0-9]+]], $[[T0]], 35 ; MIPS64: and $[[T2:[0-9]+]], $4, $[[T1]] -; MIPS64: bnez $[[T2]], [[BB0:(\$|.L)BB[0-9_]+]] +; MIPS64: bnez $[[T2]], $[[BB0:BB[0-9_]+]] %bit = and i64 %a, 34359738368 %res = icmp eq i64 %bit, 0 br i1 %res, label %endif, label %if @@ -125,9 +125,9 @@ endif: define i64 @bbit1(i64 %a) nounwind { entry: ; ALL-LABEL: bbit1: -; OCTEON: bbit1 $4, 3, [[BB0:(\$|.L)BB[0-9_]+]] +; OCTEON: bbit1 $4, 3, $[[BB0:BB[0-9_]+]] ; MIPS64: andi $[[T0:[0-9]+]], $4, 8 -; MIPS64: beqz $[[T0]], [[BB0:(\$|.L)BB[0-9_]+]] +; MIPS64: beqz $[[T0]], $[[BB0:BB[0-9_]+]] %bit = and i64 %a, 8 %res = icmp ne i64 %bit, 0 br i1 %res, label %endif, label %if @@ -141,11 +141,11 @@ endif: define i64 @bbit132(i64 %a) nounwind { entry: ; ALL-LABEL: bbit132: -; OCTEON: bbit132 $4, 3, [[BB0:(\$|.L)BB[0-9_]+]] +; OCTEON: bbit132 $4, 3, $[[BB0:BB[0-9_]+]] ; MIPS64: daddiu $[[T0:[0-9]+]], $zero, 1 ; MIPS64: dsll $[[T1:[0-9]+]], $[[T0]], 35 ; MIPS64: and $[[T2:[0-9]+]], $4, $[[T1]] -; MIPS64: beqz $[[T2]], [[BB0:(\$|.L)BB[0-9_]+]] +; MIPS64: beqz $[[T2]], $[[BB0:BB[0-9_]+]] %bit = and i64 %a, 34359738368 %res = icmp ne i64 %bit, 0 br i1 %res, label %endif, label %if |

