aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorMichael Holman <michael.holman@microsoft.com>2021-02-01 10:51:29 -0800
committerReid Kleckner <rnk@google.com>2021-02-01 11:23:56 -0800
commit8bfef787225c14a67db23254b82b330e85d1c35c (patch)
treeab638eec81fc07ee826e5082cf23bccce813f3eb /llvm/lib/Support/VirtualFileSystem.cpp
parent35a57f39b5d126646335183f1ff0f7adb52d63bc (diff)
downloadllvm-8bfef787225c14a67db23254b82b330e85d1c35c.zip
llvm-8bfef787225c14a67db23254b82b330e85d1c35c.tar.gz
llvm-8bfef787225c14a67db23254b82b330e85d1c35c.tar.bz2
[ConstantHoisting] Fix bug where constant materialization could insert into EH pad
If the incoming block to a phi node is an EH pad, then we will materialize into an EH pad, which is not supposed to happen. To fix this, I added a check to see if incoming block of a phi node is an EH pad before using it as the insertion point. Differential Revision: https://reviews.llvm.org/D95019
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions