diff options
| author | Craig Topper <craig.topper@intel.com> | 2018-07-01 23:27:41 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2018-07-01 23:27:41 +0000 |
| commit | c004aa6c5f2580f7b0ee03444230e3d4ae9299a5 (patch) | |
| tree | 2884751b2a3b66ab6a55c4fa979df2f7b0e7ad68 /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp | |
| parent | 3dafb553d9e6193fa050fef20798bc32734f43ec (diff) | |
| download | bcm5719-llvm-c004aa6c5f2580f7b0ee03444230e3d4ae9299a5.tar.gz bcm5719-llvm-c004aa6c5f2580f7b0ee03444230e3d4ae9299a5.zip | |
[X86] Remove the places that return nullptr from X86InstrInfo::commuteInstructionImpl.
findCommutedOpIndices does the pre-checking for whether commuting is possible. There should be no reason left to fail in commuteInstructionImpl. There was a missing pre-check that I've added there and changed the check to an assert in commuteInstructionImpl.
llvm-svn: 336070
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions

