aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2015-08-13 01:32:30 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2015-08-13 01:32:30 +0000
commita196661bb094be4b3a0a272c0e5d85d92ea767c1 (patch)
tree148ba9a22c6e581dcc2456b789731a6bbef58dc9 /clang/lib/Frontend/CompilerInstance.cpp
parentb2a9ed910e2f12bf64499bb3e31a5b094e82cfea (diff)
downloadllvm-a196661bb094be4b3a0a272c0e5d85d92ea767c1.zip
llvm-a196661bb094be4b3a0a272c0e5d85d92ea767c1.tar.gz
llvm-a196661bb094be4b3a0a272c0e5d85d92ea767c1.tar.bz2
[CodeGen] Mark the promoted FCOPYSIGN result FP_ROUND as TRUNCating.
Now that we can properly promote mismatched FCOPYSIGNs (r244858), we can mark the FP_ROUND on the result as truncating, to expose folding. FCOPYSIGN doesn't change anything but the sign bit, so (fp_round (fcopysign (fpext a), b)) is equivalent to (modulo the sign bit): (fp_round (fpext a)) which is a no-op. llvm-svn: 244862
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions