[PATCH] D31503: [GlobalISel]: Fix bug where we can report GISelFailure on erased instructions
Aditya Nandakumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 3 09:44:56 PDT 2017
aditya_nandakumar updated this revision to Diff 93874.
aditya_nandakumar added a comment.
Update for feedback from Tim/Quentin.
Move the legalizeInstr to Legalizer and report failure on first instruction that fails.
Also this needs MIRBuilder to be accessible outside of LegalizeHelper (to set/unset RecordInsertions).
https://reviews.llvm.org/D31503
Files:
include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
lib/CodeGen/GlobalISel/Legalizer.cpp
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31503.93874.patch
Type: text/x-patch
Size: 4300 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170403/ccdd0f10/attachment.bin>
More information about the llvm-commits
mailing list