[PATCH] D53734: [GlobalISel] Fix a bug in LegalizeRuleSet::clampMaxNumElements
Volkan Keles via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 25 14:55:45 PDT 2018
volkan created this revision.
volkan added reviewers: dsanders, aemerson, aditya_nandakumar.
Herald added subscribers: javed.absar, kristof.beyls, rovka.
This function was causing a crash when `MaxElements == 1` because
it was trying to create a single element vector type.
https://reviews.llvm.org/D53734
Files:
include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
lib/Target/AArch64/AArch64LegalizerInfo.cpp
test/CodeGen/AArch64/GlobalISel/legalize-load-fewerElts.mir
test/CodeGen/AArch64/GlobalISel/legalize-load-v4s32.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53734.171202.patch
Type: text/x-patch
Size: 3710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181025/f2f0c93a/attachment.bin>
More information about the llvm-commits
mailing list