Index: src/compiler/arm/code-generator-arm.cc |
diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc |
index 7581d8baacdee733b465ca9fcc0547cd17297ba1..66f1eea290a71901061c8829b5ea1bfd13f58037 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -2148,10 +2148,9 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
break; |
} |
case kArmS128Select: { |
- // vbsl clobbers the mask input so make sure it was DefineSameAsFirst. |
- DCHECK(i.OutputSimd128Register().is(i.InputSimd128Register(0))); |
- __ vbsl(i.OutputSimd128Register(), i.InputSimd128Register(1), |
- i.InputSimd128Register(2)); |
+ Simd128Register dst = i.OutputSimd128Register(); |
+ DCHECK(dst.is(i.InputSimd128Register(0))); |
+ __ vbsl(dst, i.InputSimd128Register(1), i.InputSimd128Register(2)); |
break; |
} |
case kArmS32x4ZipLeft: { |