Chromium Code Reviews| Index: src/IceInstARM32.cpp |
| diff --git a/src/IceInstARM32.cpp b/src/IceInstARM32.cpp |
| index f01cd53bd612db0a6a3825151aa2c866de80e7d2..90ee6205afda18df82f9cc25b495c69fe5f8346b 100644 |
| --- a/src/IceInstARM32.cpp |
| +++ b/src/IceInstARM32.cpp |
| @@ -1566,8 +1566,8 @@ void InstARM32Mov::emitIAS(const Cfg *Func) const { |
| case IceType_v8i16: |
| case IceType_v4i32: |
| case IceType_v4f32: |
| - // TODO(kschimpf): Add vector moves. |
| - emitUsingTextFixup(Func); |
| + assert(SrcTy == DestTy && "Mov on different vector types"); |
| + Asm->vorrq(Dest, Src0, Src0); |
|
Eric Holk
2016/02/11 19:24:22
The other moves in this function pass the result o
Karl
2016/02/11 22:10:28
The same can be said for the emit() method. Adding
|
| return; |
| } |
| llvm::report_fatal_error("Mov: don't know how to move " + |