[all-commits] [llvm/llvm-project] ed47a9: [Attributor][FIX] Handle the default case of a switch
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Fri Nov 1 22:31:33 PDT 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ed47a9cde4f667058ac34ef7805fc4093a5a4f7b
https://github.com/llvm/llvm-project/commit/ed47a9cde4f667058ac34ef7805fc4093a5a4f7b
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2019-11-02 (Sat, 02 Nov 2019)
Changed paths:
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/test/Transforms/FunctionAttrs/liveness.ll
Log Message:
-----------
[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).
More information about the All-commits
mailing list