Displaying 2 results from an estimated 2 matches for "invalidindexundef".
2006 May 10
0
[LLVMdev] SCCP
...ing else), please ask. :)
I've patched the instruction combiner to return UndefValue when the
index is constant and known to be out of range for either an ArrayType
or PackedType.
Patch attached.
Nick Lewycky
-------------- next part --------------
A non-text attachment was scrubbed...
Name: invalidindexundef.patch
Type: text/x-patch
Size: 1784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060510/a748ea21/attachment.bin>
2006 May 10
2
[LLVMdev] SCCP
Chris Lattner wrote:
> On Wed, 10 May 2006, Nick Lewycky wrote:
>
>>> Then just run the SCCP pass, and check to see if any operands satisfy
>>> the predicate "isa<UndefValue>(V)". LLVM explicitly represents
>>> undefined values.
>>
>>
>> I have a case where it doesn't, but perhaps the SCCP pass isn't to blame:
>>