[all-commits] [llvm/llvm-project] 1ab7e7: [9/15][Clang][RISCV][NFC] Use correct type for `RV...

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


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

  Changed paths:
    M clang/utils/TableGen/RISCVVEmitter.cpp

  Log Message:
  -----------
  [9/15][Clang][RISCV][NFC] Use correct type for `RVVTypeCache::computeTypes` under RISCVVEmitter.cpp

`MaskedPrototype` is initialized and used nowhere, this is a bug. The
existing codebase works correctly upon this bug because the default
policy for unmasked intrinsics is set to TAMU.

This is something to be fixed because when the default policy is
changed to TAMA, clang will generate incorrect result.

This is the 9th 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/D141764




More information about the All-commits mailing list