commit | 78e0f474878deb78aa49204e863cd00154dc16cb | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Mon Jul 30 12:16:58 2018 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Mon Jul 30 12:16:58 2018 +0000 |
tree | 60d912073420ec735601ada1bb2b7d88bec4941e | |
parent | 86dcb58e5df9c76eda7d5094167f8241ff52938b [diff] |
AMDGPU: Reduce code size with fcanonicalize (fneg x) When fcanonicalize is lowered to a mul, we can use -1.0 for free and avoid the cost of the bigger encoding for source modifers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338244 91177308-0d34-0410-b5e6-96231b3b80d8