summaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-08-27 22:31:40 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2020-08-27 22:32:03 +0300
commitb85f91fdced8e94c43f3350152bcb2ccfa71ef14 (patch)
tree23de23b55df1178845d5e27dd0d2d44006e91953 /clang/lib/CodeGen/CodeGenModule.cpp
parent035833ae42aa6c597f28b6e0e1118508e26f175c (diff)
[InstSimplify] SimplifyPHINode(): check that instruction is in basic block first
As pointed out in post-commit review, this can legally be called on instructions that are not inserted into basic blocks, so don't blindly assume that there is basic block.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions