Displaying 1 result from an estimated 1 matches for "d7030760".
Did you mean:
95030760
2015 Sep 24
3
Comparing stack addresses and function args (Was: [llvm] r174131 - Add a comment explaining an unavailable optimization)
Apologies if this has come up before. I couldn't find any previous
discussion, but I did find this commit.
I was wondering why LLVM cannot optimize this code (which GCC does optimize):
int f(int *p) { int x; return p == &x; }
it would seem that this must always return 0. (This occurs as a
self-assignment check in the code I was looking at; I was hoping we
could fold that check away.)