[PATCH] D22008: GlobalISel: implement low-level type suitable for MachineInstr selection

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 6 18:59:28 PDT 2016


eli.friedman added a subscriber: eli.friedman.

================
Comment at: include/llvm/CodeGen/LowLevelType.h:136
@@ +135,3 @@
+  LLT doubleElements() const {
+    assert(isVector());
+    return LLT{Kind, NumElements * 2, ScalarSize};
----------------
Should this work on a scalar type?  (`s32` -> `<2 x s32>`).


Repository:
  rL LLVM

http://reviews.llvm.org/D22008





More information about the llvm-commits mailing list