[PATCH] D34503: AVX-512: Fixed a crash during legalization of <3 x i8> type

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 14:16:57 PDT 2017


RKSimon added a reviewer: RKSimon.
RKSimon added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:622
+
+  return DAG.getNode(ISD::SIGN_EXTEND, dl, NVT, SetCC);
 }
----------------
Merge into DAG.getSExtOrTrunc ?


================
Comment at: test/CodeGen/X86/avx512-vec3-crash.ll:1
+; RUN: llc -mcpu=skx %s  -o /dev/null
+
----------------
I don't see any reason why you shouldn't FileCheck this and generate the codegen with update_llc_test_checks.py


Repository:
  rL LLVM

https://reviews.llvm.org/D34503





More information about the llvm-commits mailing list