[all-commits] [llvm/llvm-project] 080194: [RISCV] Avoid pointer element type access for mask...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Jan 31 00:30:21 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0801940c17b7b5bb69a76cd713ad76a6d2ba0788
      https://github.com/llvm/llvm-project/commit/0801940c17b7b5bb69a76cd713ad76a6d2ba0788
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-31 (Mon, 31 Jan 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Avoid pointer element type access for masked atomicrmw intrinsics

masked.atomicrmw.*.i32 intrinsics access an i32 (and then possibly
mask it), so hardcode MVT::i32 as the access type here, rather than
determining it from the pointer element type.

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




More information about the All-commits mailing list