[PATCH] Fixup PHI nodes in LowerSwitch

Pete peter_cooper at apple.com
Tue Jul 8 06:46:50 PDT 2014


LGTM with the comment here.  Best to wait for an ok from Philip too before committing.

================
Comment at: lib/Transforms/Utils/LowerSwitch.cpp:142
@@ +141,3 @@
+
+   if (PN == nullptr)
+     continue;
----------------
This can just be (!PN)

http://reviews.llvm.org/D4298






More information about the llvm-commits mailing list