aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-01-24 01:12:18 +0000
committerChris Lattner <sabre@nondot.org>2011-01-24 01:12:18 +0000
commitb830ee52502cc5896e235df6dba6f96db9f01c41 (patch)
tree5d7d8608155764a5521613d74f5a3f3340f5352e /clang/lib/CodeGen/CodeGenModule.h
parentd83e7b0ff6bf27b18656ce343a41cf85520da955 (diff)
downloadllvm-b830ee52502cc5896e235df6dba6f96db9f01c41.zip
llvm-b830ee52502cc5896e235df6dba6f96db9f01c41.tar.gz
llvm-b830ee52502cc5896e235df6dba6f96db9f01c41.tar.bz2
with recent work, we now optimize this into:
define i32 @foo(i32 %x) nounwind readnone ssp { entry: %tobool = icmp eq i32 %x, 0 %tmp5 = select i1 %tobool, i32 2, i32 1 ret i32 %tmp5 } llvm-svn: 124091
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions