Thanks to sabre for pointing out that we were incorrectly codegen'ing
int test(int x) { return 32768 - x; } Fixed by teaching the function that checks a constant's validity to be used as an immediate argument about subtract-from instructions. llvm-svn: 17476
Loading
Please register or sign in to comment