summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC
diff options
context:
space:
mode:
authorAmara Emerson <aemerson@apple.com>2017-10-06 19:24:15 +0000
committerAmara Emerson <aemerson@apple.com>2017-10-06 19:24:15 +0000
commitba0f79af92f9a4ed19d58c81bd7d185f2263231a (patch)
tree7b0608a22d8468840911cd39e1ec6860993642df /clang/test/SemaObjC
parent3f850bfcf08f6bc4c0e0a0c847c0e57a2270ef9b (diff)
downloadbcm5719-llvm-ba0f79af92f9a4ed19d58c81bd7d185f2263231a.tar.gz
bcm5719-llvm-ba0f79af92f9a4ed19d58c81bd7d185f2263231a.zip
[GlobalISel] Fix legalizer trying to process a deleted instruction.
In some cases an instruction is deleted from the block during combining, however it can still exist in the legalizer worklist. This change modifies the combiner routines to add the given MI to the dead instruction list rather than trying to remove it from the block themselves. The responsibility is then on the caller to delete the instruction from the block and any worklists. Differential Revision: https://reviews.llvm.org/D38622 llvm-svn: 315092
Diffstat (limited to 'clang/test/SemaObjC')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud