[PATCH] D141399: [ARM] Don't treat arguments as producesFalseLanesZero

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 09:09:49 PST 2023


dmgreen created this revision.
dmgreen added reviewers: samtebbs, samparker, NickGuy.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
dmgreen requested review of this revision.
Herald added a project: LLVM.

Invalid tail predicated loops could be formed by treating function arguments as FalseLanesZero due to getGlobalReachingDefs not returning any values. Make sure we check that the list of Defs is empty and if so treat it like a unknown value.


https://reviews.llvm.org/D141399

Files:
  llvm/lib/Target/ARM/ARMLowOverheadLoops.cpp
  llvm/test/CodeGen/Thumb2/LowOverheadLoops/mve-reduct-livein-arg.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141399.487828.patch
Type: text/x-patch
Size: 11362 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230110/863c51cd/attachment.bin>


More information about the llvm-commits mailing list