[PATCH] D30712: [JumpThread] Try to fold SwitchInst before attempting to jumpthread it

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 7 11:41:47 PST 2017


efriedma added inline comments.


================
Comment at: test/Transforms/JumpThreading/basic.ll:21
+    i1 1, label %rf
+  ]
+
----------------
IIRC, SimplifyCFG converts a switch on i1 to a conditional branch.  Given that, I can't see how you could ever trigger this in practice.


https://reviews.llvm.org/D30712





More information about the llvm-commits mailing list