Previously, did not consider i386 subtargets which led to a crash in legalization stage.
This is required before adding support for X86TESTM and X86TESTNM
for also eliminating zeroing upper bits redundant instructions.
Differential D38689
[X86] Fix a bug with i386 subtarget in LowerCONCAT_VECTORSvXi1 func uriel.k on Oct 9 2017, 8:20 AM. Authored by
Details
Previously, did not consider i386 subtargets which led to a crash in legalization stage. This is required before adding support for X86TESTM and X86TESTNM
Diff Detail Event TimelineComment Actions Test case?
Comment Actions This bug is covered by a test in check-llvm and after that @uriel.k will commit the next patch the case will be covered.
Comment Actions Changed function to be DAG.getIntPtrConstant(0, dl) instead. Test case is not possible right now as it crashes only after another patch that will add TESTM to Comment Actions LGTM with one minor
Comment Actions Committed in rL315311. Sorry for the poor commit message, added a suitable message in comment in https://reviews.llvm.org/rL315311 |
Should this just be calling getZeroVector?