[all-commits] [llvm/llvm-project] d63e49: [10/15][Clang][RISCV][NFC] Don't need to check for...

Yueh-Ting (eop) Chen via All-commits all-commits at lists.llvm.org
Tue Jan 24 07:12:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d63e492562f255684f0e2b2e4eb14baf17a485d7
      https://github.com/llvm/llvm-project/commit/d63e492562f255684f0e2b2e4eb14baf17a485d7
  Author: eopXD <yueh.ting.chen at gmail.com>
  Date:   2023-01-24 (Tue, 24 Jan 2023)

  Changed paths:
    M clang/include/clang/Support/RISCVVIntrinsicUtils.h

  Log Message:
  -----------
  [10/15][Clang][RISCV][NFC] Don't need to check for `MaskPolicy` in `isTAPolicy` and `isTUPolicy`

Caller of the two utilities is always companied with a predicate to
check for `!IsMask`, so we don't need to check for the mask policy
here.

This also removes dependency to `Policy::PolicyType::Omit`, which will
be removed.

This is the 10th commit of a patch-set that aims to change the default policy
for RVV intrinsics from TAMU to TAMA.

Please refer to the cover letter in the 1st commit (D141573) for an
overview.

Reviewed By: kito-cheng

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




More information about the All-commits mailing list