diff options
author | Nate Begeman <natebegeman@mac.com> | 2004-11-04 19:43:18 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2004-11-04 19:43:18 +0000 |
commit | 28dd2fc240749d77d4251b4a29b8cace2a65460c (patch) | |
tree | b750a669e78abd4029bb60ff0919613283bafb2b /examples/Fibonacci/fibonacci.cpp | |
parent | 3c7d7ee76136bf0041693fc939e155f34a197b2b (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17476 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/Fibonacci/fibonacci.cpp')
0 files changed, 0 insertions, 0 deletions