[PATCH] Cleanup handling of constant function casts
Eli Friedman
eli.friedman at gmail.com
Mon Sep 16 16:07:06 PDT 2013
================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:1081
@@ -1080,3 +1065,2 @@
- return false;
}
----------------
Is just deleting this code really right? Consider if a function is declared as "intptr_t f(void)" and defined as "void* f(void)". (I know this isn't tested well...)
http://llvm-reviews.chandlerc.com/D1684
More information about the llvm-commits
mailing list