diff options
Diffstat (limited to 'llvm/test/CodeGen/Mips/llvm-ir/and.ll')
-rw-r--r-- | llvm/test/CodeGen/Mips/llvm-ir/and.ll | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/llvm/test/CodeGen/Mips/llvm-ir/and.ll b/llvm/test/CodeGen/Mips/llvm-ir/and.ll index c26b60d0ff9..18d7a439f62 100644 --- a/llvm/test/CodeGen/Mips/llvm-ir/and.ll +++ b/llvm/test/CodeGen/Mips/llvm-ir/and.ll @@ -37,10 +37,12 @@ entry: ; GP32: and $2, $4, $5 - ; GP64: and $2, $4, $5 + ; GP64: and $1, $4, $5 + + ; MM32: and16 $[[T0:[0-9]+]], $5 + ; MM32: move $2, $[[T0]] - ; MM: and16 $[[T0:[0-9]+]], $5 - ; MM: move $2, $[[T0]] + ; MM64: and $1, $4, $5 %r = and i1 %a, %b ret i1 %r @@ -52,10 +54,12 @@ entry: ; GP32: and $2, $4, $5 - ; GP64: and $2, $4, $5 + ; GP64: and $1, $4, $5 - ; MM: and16 $[[T0:[0-9]+]], $5 - ; MM: move $2, $[[T0]] + ; MM32: and16 $[[T0:[0-9]+]], $5 + ; MM32: move $2, $[[T0]] + + ; MM64: and $1, $4, $5 %r = and i8 %a, %b ret i8 %r @@ -67,10 +71,12 @@ entry: ; GP32: and $2, $4, $5 - ; GP64: and $2, $4, $5 + ; GP64: and $1, $4, $5 + + ; MM32: and16 $[[T0:[0-9]+]], $5 + ; MM32 move $2, $[[T0]] - ; MM: and16 $[[T0:[0-9]+]], $5 - ; MM: move $2, $[[T0]] + ; MM64: and $1, $4, $5 %r = and i16 %a, %b ret i16 %r |