llvm-mirror/test/CodeGen/X86/2012-07-16-fp2ui-i1.ll
Nadav Rotem ae88f0486b Make ComputeDemandedBits return a deterministic result when computing an AssertZext value.
In the added testcase the constant 55 was behind an AssertZext of type i1, and ComputeDemandedBits
reported that some of the bits were both known to be one and known to be zero.

Together with Michael Kuperstein <michael.m.kuperstein@intel.com>

llvm-svn: 160305
2012-07-16 18:34:53 +00:00

13 lines
195 B
LLVM

; RUN: llc < %s -march=x86-64 -mcpu=corei7
define void @autogen_SD3100() {
BB:
%FC123 = fptoui float 0x40693F5D00000000 to i1
br i1 %FC123, label %V, label %W
V:
ret void
W:
ret void
}