commit | a5f45d5444fc0768e8832b447ac1f23330d790cc | [log] [tgz] |
---|---|---|
author | Matt Arsenault <Matthew.Arsenault@amd.com> | Mon Sep 29 14:59:34 2014 +0000 |
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Mon Sep 29 14:59:34 2014 +0000 |
tree | cea9f617b13953dcb1b8c0f0d92c3c4fa983613e | |
parent | ea64dce261cc35e76555111f58af91339502fbd0 [diff] |
R600/SI: Fix using mad with multiplies by 2 These turn into fadds, so combine them into the target mad node. fadd (fadd (a, a), b) -> mad 2.0, a, b git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218608 91177308-0d34-0410-b5e6-96231b3b80d8