[PATCH] D87751: [RDA] Fix getUniqueReachingDef for self loops

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 02:20:54 PDT 2020


samparker created this revision.
samparker added reviewers: samtebbs, nikic, SjoerdMeijer.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
samparker requested review of this revision.

We've fixed the case where this could return an instruction after the given instruction, but also means that we can falsely return a 'unique' def when they could be one coming from the backedge of loop.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D87751

Files:
  llvm/lib/CodeGen/ReachingDefAnalysis.cpp
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/vctp-add-operand-liveout.mir
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/wlstp.mir
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/wrong-vctp-opcode-liveout.mir
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/wrong-vctp-operand-liveout.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87751.292152.patch
Type: text/x-patch
Size: 12731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200916/bc63c722/attachment.bin>


More information about the llvm-commits mailing list