Skip to content
Commit bff3d4ab authored by Nate Begeman's avatar Nate Begeman
Browse files

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
parent adb5342a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment