[PATCH] D25438: [mips] Fix Mips MSA instrinsics

Simon Dardis via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 20 06:32:01 PDT 2016

sdardis added a comment.

The problem with just crashing, is that reason for the crash is completely unclear. The two changed lines in SelectionDAG.cpp from zext to zextOrTrunc ensure that handling a constant that doesn't need promotion doesn't force an assertion error in APInt's zext. I went with this solution as it seemed to be the least invasive.



More information about the llvm-commits mailing list