aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-06-28 20:25:50 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-06-28 20:25:50 +0000
commita45584bebebc5ebe999c0a1672687d2a8cca505b (patch)
tree2bcc194f9f69e928321a6fa0ff886d83f14fba6e /llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp
parent57f57262c519be373526f81ffc1d1d7caf3c9ad1 (diff)
downloadllvm-a45584bebebc5ebe999c0a1672687d2a8cca505b.zip
llvm-a45584bebebc5ebe999c0a1672687d2a8cca505b.tar.gz
llvm-a45584bebebc5ebe999c0a1672687d2a8cca505b.tar.bz2
Fold fneg and fabs like multiplications
Given no NaNs and no signed zeroes it folds: (fmul X, (select (fcmp X > 0.0), -1.0, 1.0)) -> (fneg (fabs X)) (fmul X, (select (fcmp X > 0.0), 1.0, -1.0)) -> (fabs X) Differential Revision: https://reviews.llvm.org/D34579 llvm-svn: 306592
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp')
0 files changed, 0 insertions, 0 deletions