diff options
author | Arch D. Robison <arch.robison@intel.com> | 2015-09-15 17:51:59 +0000 |
---|---|---|
committer | Arch D. Robison <arch.robison@intel.com> | 2015-09-15 17:51:59 +0000 |
commit | 8ed0854f551e980721702a9ec9d31c91a7fd2e5b (patch) | |
tree | c57c7f9cf4a2ef573524d71673e9ebbbf7941709 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | bdc1eafe20e60362a5ee712b0beee0229ac66de5 (diff) | |
download | llvm-8ed0854f551e980721702a9ec9d31c91a7fd2e5b.zip llvm-8ed0854f551e980721702a9ec9d31c91a7fd2e5b.tar.gz llvm-8ed0854f551e980721702a9ec9d31c91a7fd2e5b.tar.bz2 |
Broaden optimization of fcmp ([us]itofp x, constant) by instcombine.
The patch extends the optimization to cases where the constant's
magnitude is so small or large that the rounding of the conversion
is irrelevant. The "so small" case includes negative zero.
Differential review: http://reviews.llvm.org/D11210
llvm-svn: 247708
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions