summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/CtorUtils.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2019-11-01 13:57:49 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2019-11-02 00:30:31 -0500
commited47a9cde4f667058ac34ef7805fc4093a5a4f7b (patch)
tree6ce601fdbd4ea4a8388485968ad6bfa5c5458248 /llvm/lib/Transforms/Utils/CtorUtils.cpp
parent15cd90a2c44aacbab1fe8682b8c07101ccffb9c4 (diff)
downloadbcm5719-llvm-ed47a9cde4f667058ac34ef7805fc4093a5a4f7b.tar.gz
bcm5719-llvm-ed47a9cde4f667058ac34ef7805fc4093a5a4f7b.zip
[Attributor][FIX] Handle the default case of a switch
In D69605 only the "cases" of a switch were handled but if none matched we did not make the default case life. This is fixed now and properly tested (with code from IPConstantProp/user-with-multiple-uses.ll).
Diffstat (limited to 'llvm/lib/Transforms/Utils/CtorUtils.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud