[all-commits] [llvm/llvm-project] 954bef: [LV] Turn check into assert in fixFixedOrderRecurr...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Apr 10 13:12:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 954befe2a7450d153bc001979eb2376e40b5c491
      https://github.com/llvm/llvm-project/commit/954befe2a7450d153bc001979eb2376e40b5c491
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-04-10 (Mon, 10 Apr 2023)

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

  Log Message:
  -----------
  [LV] Turn check into assert in fixFixedOrderRecurrence (NFCI).

Suggested as independent cleanup in D147567. Either VF or UF need to be
> 1. Note that if the condition would be false, the code below would use
a nullptr and crash.




More information about the All-commits mailing list