diff options
author | Craig Topper <craig.topper@intel.com> | 2018-06-25 06:05:37 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@intel.com> | 2018-06-25 06:05:37 +0000 |
commit | af52e54fe68eecd69bd6b329fcb6ca2acc3b4071 (patch) | |
tree | 81d3f32ae093a540fb222e35407768e3b5a027af /openmp | |
parent | 3c7ed7cfb7822c5294c9efc565388932c6f05de3 (diff) |
[X86] Block commuting operand 1 of FMA*_Int instructions in findThreeSrcCommutedOpIndices. Remove uncommutable returns from getThreeSrcCommuteCase/getFMA3OpcodeToCommuteOperands.
We should be blocking the operand while we are in the routine that tries to find commutable operand indices. Doing it later means we might have missed out on another valid set of operands we could have commuted.
The intrinsic case was the only case that could really prevent commuting in getFMA3OpcodeToCommuteOperands. All the other cases in getThreeSrcCommuteCase were not reachable conditions as they were protected by findThreeSrcCommutedOpIndices.
With that abort case pushed earlier, we can remove all the abort checks and replace with asserts.
Diffstat (limited to 'openmp')
0 files changed, 0 insertions, 0 deletions