aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorPreston Gurd <preston.gurd@intel.com>2013-03-04 18:13:57 +0000
committerPreston Gurd <preston.gurd@intel.com>2013-03-04 18:13:57 +0000
commit485296d1e85510de2b5df8a5c652fd0abeb5db06 (patch)
tree37157fc9c401587e8556ae890caf95a6b1ec83fa /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent6972f6d3c7c2960df6a0720515cfa7c6846903ed (diff)
downloadllvm-485296d1e85510de2b5df8a5c652fd0abeb5db06.zip
llvm-485296d1e85510de2b5df8a5c652fd0abeb5db06.tar.gz
llvm-485296d1e85510de2b5df8a5c652fd0abeb5db06.tar.bz2
Bypass Slow Divides
* Only apply divide bypass optimization when not optimizing for size. * Fixed bug caused by constant for 0 value of type Int32, used dividend type to generate the constant instead. * For atom x86-64 apply the divide bypass to use 16-bit divides instead of 64-bit divides when operand values are small enough. * Added lit tests for 64-bit divide bypass. Patch by Tyler Nowicki! llvm-svn: 176442
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions