[PATCH] D25438: [mips] Fix Mips MSA instrinsics
Simon Dardis via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 10 09:47:02 PDT 2016
sdardis created this revision.
sdardis added reviewers: vkalintiris, zoran.jovanovic.
sdardis added a subscriber: llvm-commits.
sdardis set the repository for this revision to rL LLVM.
The usage of some MIPS MSA instrinsics that took immediates could crash LLVM
during lowering. This patch addresses that behaviour. Crucially this patch
also makes the use of intrinsics with out of range immediates as having
undefined results.
Repository:
rL LLVM
https://reviews.llvm.org/D25438
Files:
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/Target/Mips/MipsSEISelLowering.cpp
test/CodeGen/Mips/msa/immediates-bad.ll
test/CodeGen/Mips/msa/immediates.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25438.74140.patch
Type: text/x-patch
Size: 109562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161010/2261e0a6/attachment.bin>
More information about the llvm-commits
mailing list