| commit | e295575d6c1ff80d4466aa1c72e8197a66a1ff5a | [log] [tgz] |
|---|---|---|
| author | Karl Schimpf <kschimpf@google.com> | Tue Feb 02 12:57:30 2016 -0800 |
| committer | Karl Schimpf <kschimpf@google.com> | Tue Feb 02 12:57:30 2016 -0800 |
| tree | 31e4783c0d7dc65caf2bcb4e2435c38b313a58c7 | |
| parent | fd7975f14884a851379335a07c831fd6f33770f8 [diff] [blame] |
Add VORR instruction to the integrated ARM assembler. Also simplify several switch statements by replacing type entries with default. BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=4334 Review URL: https://codereview.chromium.org/1661633002 .
diff --git a/src/IceTargetLoweringARM32.cpp b/src/IceTargetLoweringARM32.cpp index 7a19f11..34069eb 100644 --- a/src/IceTargetLoweringARM32.cpp +++ b/src/IceTargetLoweringARM32.cpp
@@ -2976,6 +2976,7 @@ } case InstArithmetic::Or: { Variable *Src0R = Srcs.src0R(this); + assert(isIntegerType(DestTy)); if (isVectorType(DestTy)) { Variable *Src1R = legalizeToReg(Src1); _vorr(T, Src0R, Src1R);