Displaying 1 result from an estimated 1 matches for "d9152".
Did you mean:
49152
2019 Apr 27
2
Optimization Problem
Hi,
I try to understand why llvm can't optimize this small piece of code.
My expectation is that the IR will be optimized to a " ret i64 2101545.
But somehow the alias analysis fails when the pointer is casted to an integer value,
so the dead code eliminator can't optimize it away.
Could someone explain to me why this is failing and if there is a solution for that ?
I can trick the