[PATCH] [ScheduleDAG] Fix for PR32723
Jonas Paulsson via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 27 04:39:04 PDT 2017
Hi,
A fix for https://bugs.llvm.org//show_bug.cgi?id=32723, is to check for
MVT::Untyped before calling TLI->getRepRegClassFor(), which crashes with
this type as argument.
To fix the crash found, it was necessary to add this check in two places
in RegReductionPQBase::RegPressureDiff(), but it seemed right to do it
in all places
this function is called to avoid similar crashes.
(Follow link for discussion)
/Jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-checks-for-MVT-Untyped-before-calling-getRepRegC.patch
Type: text/x-patch
Size: 3700 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170427/75c5cca3/attachment.bin>
More information about the llvm-commits
mailing list