Displaying 2 results from an estimated 2 matches for "6d4a0db8".
2013 Mar 28
0
[LLVMdev] Question about simple constant propagation pass
Hi Yunming,
On 28/03/13 03:15, yunming zhang wrote:
> Hi,
>
> I just started working with llvm, I am trying to test and improve the constant
> propagation pass (-constprop),
>
> I have two main questions,
>
> 1. I wrote my own test file, which has something like
> int a = 1
> int b = a + 2;
> int c = b + 3;
> print c
>
> However, non
2013 Mar 28
2
[LLVMdev] Question about simple constant propagation pass
Hi,
I just started working with llvm, I am trying to test and improve the
constant propagation pass (-constprop),
I have two main questions,
1. I wrote my own test file, which has something like
int a = 1
int b = a + 2;
int c = b + 3;
print c
However, non of the instruction was killed according to -stat. I think
it might due to the fact the llvm instructions generated was a bit