Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [DAGCombiner] Check term use before applying aggressive FSUB optimisations | Carl Ritson | 2019-12-23 | 1 | -2/+116 |
| | | | | | | | | | | | | | | | | Summary: Without this check unnecessary FMA instructions are generated when the FSUB terms are reused. This also has the side-effect that the same value is computed to different levels of precision, which can create undesirable effects if the results are used together in subsequent computation. Reviewers: arsenm, nhaehnle, foad, tpr, dstuttard, spatel Reviewed By: arsenm Subscribers: jvesely, wdng, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D71656 | ||||
* | AMDGPU: Allow SIShrinkInstructions to work in non-SSA | Matt Arsenault | 2017-07-10 | 1 | -25/+25 |
| | | | | | | | | Immediates can be folded as long as the immediate is a vreg. Also undo commuting instructions if it didn't fold an immediate. llvm-svn: 307575 | ||||
* | AMDGPU: Mark all unspecified CC functions in tests as amdgpu_kernel | Matt Arsenault | 2017-03-21 | 1 | -8/+8 |
| | | | | | | | | | | | | Currently the default C calling convention functions are treated the same as compute kernels. Make this explicit so the default calling convention can be changed to a non-kernel. Converted with perl -pi -e 's/define void/define amdgpu_kernel void/' on the relevant test directories (and undoing in one place that actually wanted a non-kernel). llvm-svn: 298444 | ||||
* | DAGCombiner: Add hasOneUse checks to fadd/fma combine | Matt Arsenault | 2017-01-11 | 1 | -0/+262 |
Even with aggressive fusion enabled, this requires duplicating the fmul, or increases an fadd to another fma which is not an improvement. llvm-svn: 291642 |