aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-08-01 01:25:55 +0000
committerJuergen Ributzka <juergen@apple.com>2014-08-01 01:25:55 +0000
commit82ecc7ff2a206068be74559134755e036ca9481e (patch)
tree33506c910194f476602057019aa2c6ac55278d83 /clang/lib/CodeGen/CodeGenModule.cpp
parent3604bf7fe7a263b9a4f1fbfc284fb205f2a5de33 (diff)
downloadllvm-82ecc7ff2a206068be74559134755e036ca9481e.zip
llvm-82ecc7ff2a206068be74559134755e036ca9481e.tar.gz
llvm-82ecc7ff2a206068be74559134755e036ca9481e.tar.bz2
[FastISel][AArch64] Fix the immediate versions of the {s|u}{add|sub}.with.overflow intrinsics.
ADDS and SUBS cannot encode negative immediates or immediates larger than 12bit. This fix checks if the immediate version can be used under this constraints and if we can convert ADDS to SUBS or vice versa to support negative immediates. Also update the test cases to test the immediate versions. llvm-svn: 214470
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions