[PATCH] D111857: 【TwoAddressInstructionPass】 Put all new instructions into DistanceMap

Guozhi Wei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 26 17:51:32 PDT 2021


Carrot updated this revision to Diff 382497.
Carrot edited the summary of this revision.
Carrot added a comment.

Thank pengfei's question, I did find another case that DistanceMap is not maintained correctly when unfolding memory operand.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111857/new/

https://reviews.llvm.org/D111857

Files:
  llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
  llvm/test/CodeGen/X86/addcarry.ll
  llvm/test/CodeGen/X86/distancemap.mir
  llvm/test/CodeGen/X86/sadd_sat_plus.ll
  llvm/test/CodeGen/X86/sadd_sat_vec.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111857.382497.patch
Type: text/x-patch
Size: 10785 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211027/883fb530/attachment.bin>


More information about the llvm-commits mailing list