[LLVMbugs] [Bug 5189] trichotomy of scalars not optimized
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Jan 1 10:38:32 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=5189
Chris Lattner <clattner at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Chris Lattner <clattner at apple.com> 2010-01-01 12:38:32 ---
Looks like this got fixed along the way:
$ clang t.c -S -o - -O2 -emit-llvm
...
define i32 @main(i32 %argc, i8** nocapture %argv) nounwind readnone ssp {
entry:
%0 = icmp eq i32 %argc, 42 ; <i1> [#uses=1]
%land.ext.i = zext i1 %0 to i32 ; <i32> [#uses=1]
ret i32 %land.ext.i
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list