[all-commits] [llvm/llvm-project] e177c5: [InstSimplify] fold copysign with same args to the...
RotateRight via All-commits
all-commits at lists.llvm.org
Tue Nov 26 14:40:19 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e177c5a00da34ba61b762e2b32bd96e33b0c10b4
https://github.com/llvm/llvm-project/commit/e177c5a00da34ba61b762e2b32bd96e33b0c10b4
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2019-11-26 (Tue, 26 Nov 2019)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/call.ll
Log Message:
-----------
[InstSimplify] fold copysign with same args to the arg
This is correct for any value including NaN/inf.
We don't have this fold directly in the backend either,
but x86 manages to get it after converting things to bitops.
More information about the All-commits
mailing list