aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocLinearScan.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-09-29 17:40:11 +0000
committerChris Lattner <sabre@nondot.org>2004-09-29 17:40:11 +0000
commita96879a26dad2e68af65fc985e89b4e8773ea726 (patch)
treef6a10c7654878f9e564eccd6c113c84d1e8b8aed /lib/CodeGen/RegAllocLinearScan.cpp
parenta2393502be3028d99f62e2ff98f803aa6cf5026e (diff)
* Pull range optimization code out into new InsertRangeTest function.
* SubOne/AddOne functions always return ConstantInt, declare them as such * Pull code for handling setcc X, cst, where cst is at the end of the range, or cc is LE or GE up earlier in visitSetCondInst. This reduces #iterations in some cases. * Fold: (div X, C1) op C2 -> range check, implementing div.ll:test6 - test9. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16588 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLinearScan.cpp')
0 files changed, 0 insertions, 0 deletions