[all-commits] [llvm/llvm-project] 442da6: Run DCE after a LoopFlatten test to reduce spuriou...

Philip Reames via All-commits all-commits at lists.llvm.org
Wed Nov 1 12:07:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 442da60a3f11e644aeefe65f52b14cf82c5d6c8e
      https://github.com/llvm/llvm-project/commit/442da60a3f11e644aeefe65f52b14cf82c5d6c8e
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-11-01 (Wed, 01 Nov 2023)

  Changed paths:
    M llvm/test/Transforms/LoopFlatten/widen-iv.ll

  Log Message:
  -----------
  Run DCE after a LoopFlatten test to reduce spurious output [nfc]

LoopFlatten uses IndVars mechanics to widen induction variables, but then
fails to cleanup the dead instructions returned via the API.  This isn't
a functional problem, but means that this test is highly sensative to
indvars internals in an unhelpful way.  Use DCE to "normalize" the test
output to avoid false positives in a later change.




More information about the All-commits mailing list