diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-09-22 15:35:32 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-09-22 15:35:32 +0000 |
commit | c9965f41865abe8a3f781e28a36e37bae9ed791a (patch) | |
tree | face9a9819f9437a026eb75309116312403d98e3 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 4349b19efb01eee44354705894ed6777f7488e4b (diff) | |
download | llvm-c9965f41865abe8a3f781e28a36e37bae9ed791a.zip llvm-c9965f41865abe8a3f781e28a36e37bae9ed791a.tar.gz llvm-c9965f41865abe8a3f781e28a36e37bae9ed791a.tar.bz2 |
R600: Don't set BypassSlowDiv for 64-bit division
BypassSlowDiv is used by codegen prepare to insert a run-time
check to see if the operands to a 64-bit division are really 32-bit
values and if they are it will do 32-bit division instead.
This is not useful for R600, which has predicated control flow since
both the 32-bit and 64-bit paths will be executed in most cases. It
also increases code size which can lead to more instruction cache
misses.
llvm-svn: 218252
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions