summaryrefslogtreecommitdiffstats
path: root/lldb/source/Utility/FileSpec.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-06-25 06:05:37 +0000
committerCraig Topper <craig.topper@intel.com>2018-06-25 06:05:37 +0000
commitfacea6b4a65d6e3a417d4b44e5a9f88a3ed37f3c (patch)
tree47e0facb68d3da2dcad26bf8711f7fda1bb20438 /lldb/source/Utility/FileSpec.cpp
parenteff8f9d1783c24fc74baf1a18c7b83e59dd254ec (diff)
downloadbcm5719-llvm-facea6b4a65d6e3a417d4b44e5a9f88a3ed37f3c.tar.gz
bcm5719-llvm-facea6b4a65d6e3a417d4b44e5a9f88a3ed37f3c.zip
[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. llvm-svn: 335446
Diffstat (limited to 'lldb/source/Utility/FileSpec.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud