diff options
author | Michael Kuperstein <mkuper@google.com> | 2016-06-25 00:47:21 +0000 |
---|---|---|
committer | Michael Kuperstein <mkuper@google.com> | 2016-06-25 00:47:21 +0000 |
commit | f4c56e97dffe9d0d40c1c428a59ec6a3a0d59f66 (patch) | |
tree | 8a38df41b59524fc3dcb1fe5174cb0900efed096 /llvm/lib/Transforms/Utils/LowerSwitch.cpp | |
parent | cee7dce0dc4c5c64f71340ba713f3719e0cc6a70 (diff) | |
download | bcm5719-llvm-f4c56e97dffe9d0d40c1c428a59ec6a3a0d59f66.tar.gz bcm5719-llvm-f4c56e97dffe9d0d40c1c428a59ec6a3a0d59f66.zip |
It isn't meaningful for a transform to preserve another transform. NFC.
llvm-svn: 273761
Diffstat (limited to 'llvm/lib/Transforms/Utils/LowerSwitch.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LowerSwitch.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Transforms/Utils/LowerSwitch.cpp b/llvm/lib/Transforms/Utils/LowerSwitch.cpp index e73d28fd98e..5c07469869f 100644 --- a/llvm/lib/Transforms/Utils/LowerSwitch.cpp +++ b/llvm/lib/Transforms/Utils/LowerSwitch.cpp @@ -59,12 +59,6 @@ namespace { bool runOnFunction(Function &F) override; - void getAnalysisUsage(AnalysisUsage &AU) const override { - // This is a cluster of orthogonal Transforms - AU.addPreserved<UnifyFunctionExitNodes>(); - AU.addPreservedID(LowerInvokePassID); - } - struct CaseRange { ConstantInt* Low; ConstantInt* High; |