aboutsummaryrefslogtreecommitdiff
path: root/llvm/examples/Fibonacci/fibonacci.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2004-11-04 19:43:18 +0000
committerNate Begeman <natebegeman@mac.com>2004-11-04 19:43:18 +0000
commitbff3d4abf052fe011cfad72618db6726db133fc6 (patch)
treec78f614e7054767ef3976ffd288de9d0dac0859a /llvm/examples/Fibonacci/fibonacci.cpp
parentadb5342ae85dfaac92384df720945394b6298c0c (diff)
downloadllvm-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