[PATCH] Switch to Select optimisations - Two Case switch to select

Marcello Maggioni hayarms at gmail.com
Mon Oct 6 20:11:33 PDT 2014


================
Comment at: test/Transforms/SimplifyCFG/switch-to-select-two-case.ll:51
@@ +50,3 @@
+; CHECK-LABEL: @foo1_without_default
+; CHECK: icmp eq i32
+; CHECK-NEXT: %switch.select = select i1 %switch.selectcmp, i32 10, i32 2
----------------
hans wrote:
> Please check the full icmp instruction.
done

http://reviews.llvm.org/D5620






More information about the llvm-commits mailing list