Displaying 1 result from an estimated 1 matches for "abd0bab5".
2015 Jun 09
2
[LLVMdev] Constant folding inttoptr i32 0 to null pointer?
On Tue, Jun 9, 2015 at 12:32 PM, David Majnemer <david.majnemer at gmail.com>
wrote:
> 'load volatile i32 addrspace(1)* null' seems fine to me. However, it
> looks like instcombine will turn:
> define i32 @foo() {
> entry:
> %std_ld.i = load volatile i32, i32 addrspace(1)* null
> ret i32 %std_ld.i
> }
>
> into:
> define i32 @foo() {
> entry: