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 | bff3d4abf052fe011cfad72618db6726db133fc6 (patch) | |
tree | c78f614e7054767ef3976ffd288de9d0dac0859a /llvm/examples/Fibonacci/fibonacci.cpp | |
parent | adb5342ae85dfaac92384df720945394b6298c0c (diff) | |
download | llvm-bff3d4abf052fe011cfad72618db6726db133fc6.zip llvm-bff3d4abf052fe011cfad72618db6726db133fc6.tar.gz llvm-bff3d4abf052fe011cfad72618db6726db133fc6.tar.bz2 |
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
Diffstat (limited to 'llvm/examples/Fibonacci/fibonacci.cpp')
0 files changed, 0 insertions, 0 deletions