aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/tutorial/MyFirstLanguageFrontend
diff options
context:
space:
mode:
authorErik Pilkington <erik.pilkington@gmail.com>2019-04-10 23:42:11 +0000
committerErik Pilkington <erik.pilkington@gmail.com>2019-04-10 23:42:11 +0000
commitcb5c7bd9ebfa004751a1b8815a281f51de2083dc (patch)
treeafab549d77bf0b2dac02196a236c12667eea244d /llvm/docs/tutorial/MyFirstLanguageFrontend
parent2f46de8c0b253e40ea84bb99e6a77079abd86daa (diff)
downloadllvm-cb5c7bd9ebfa004751a1b8815a281f51de2083dc.zip
llvm-cb5c7bd9ebfa004751a1b8815a281f51de2083dc.tar.gz
llvm-cb5c7bd9ebfa004751a1b8815a281f51de2083dc.tar.bz2
Fix a hang when lowering __builtin_dynamic_object_size
If the ObjectSizeOffsetEvaluator fails to fold the object size call, then it may litter some unused instructions in the function. When done repeatably in InstCombine, this results in an infinite loop. Fix this by tracking the set of instructions that were inserted, then removing them on failure. rdar://49172227 Differential revision: https://reviews.llvm.org/D60298 llvm-svn: 358146
Diffstat (limited to 'llvm/docs/tutorial/MyFirstLanguageFrontend')
0 files changed, 0 insertions, 0 deletions