[PATCH] D74058: [ReachingDefs] Make isSafeToMove more strict.

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 5 08:15:36 PST 2020


samparker created this revision.
samparker added reviewers: SjoerdMeijer, dmgreen.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

Test that we're not moving the instruction through instructions with side-effects.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74058

Files:
  llvm/lib/CodeGen/ReachingDefAnalysis.cpp
  llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/cant-move-def-past-mem.mir
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/dont-move-start-thru-it.mir
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/move-def-before-start.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74058.242631.patch
Type: text/x-patch
Size: 29486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200205/2395164f/attachment.bin>


More information about the llvm-commits mailing list