[LLVMbugs] [Bug 2529] constant folding fails on vicmp/ vfcmp instructions with undef operands

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jul 8 11:09:33 PDT 2008


http://llvm.org/bugs/show_bug.cgi?id=2529


Stefanus Du Toit <sdt at rapidmind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #2 from Stefanus Du Toit <sdt at rapidmind.com>  2008-07-08 13:08:06 ---
Thanks for the speedy fix. This fixed vicmp, but vfcmp still fails for me
(r53241):

define <4 x i32> @test(i32 %argc, i8** %argv) {
entry:  
        %foo = vfcmp ueq <4 x float> <float undef, float undef, float undef,
float undef>, <float undef, float undef, float undef, float undef>
        ret <4 x i32> %foo
}

opt -instcombine crashes in the same spot.


-- 
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