[all-commits] [llvm/llvm-project] fb09f9: [Flang] Use llvm_unreachable to replace assert, NFC

bzEq via All-commits all-commits at lists.llvm.org
Tue Jul 4 00:05:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb09f9f914117e9740df6c637d98670955ea52dc
      https://github.com/llvm/llvm-project/commit/fb09f9f914117e9740df6c637d98670955ea52dc
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2023-07-04 (Tue, 04 Jul 2023)

  Changed paths:
    M flang/lib/Optimizer/Builder/PPCIntrinsicCall.cpp

  Log Message:
  -----------
  [Flang] Use llvm_unreachable to replace assert, NFC

IIUC, the `default` case should be unreachable inferred from the context.

Reviewed By: kkwli0

Differential Revision: https://reviews.llvm.org/D154344




More information about the All-commits mailing list