[all-commits] [llvm/llvm-project] 1f6e15: [LV] Weaken a unnecessarily strong assert [NFC]

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Dec 15 19:08:14 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f6e15566f147f5814b0fe04df71a8d6acc4e689
      https://github.com/llvm/llvm-project/commit/1f6e15566f147f5814b0fe04df71a8d6acc4e689
  Author: Philip Reames <listmail at philipreames.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [LV] Weaken a unnecessarily strong assert [NFC]

Account for the fact that (in the future) the latch might be a switch not a branch.  The existing code is correct, minus the assert.




More information about the All-commits mailing list