[PATCH] D131951: Use ISA versions instead of attributes to determine intrinsic legality.
Brendon Cahoon via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 16 06:45:50 PDT 2022
bcahoon added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIISelLowering.cpp:7826
+ case Intrinsic::amdgcn_global_atomic_fadd: {
+ auto IV = AMDGPU::getIsaVersion(Subtarget->getCPU());
+ auto IVTupl = std::make_tuple(IV.Major, IV.Minor, IV.Stepping);
----------------
Why can't the compiler continue to use the attribute?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131951/new/
https://reviews.llvm.org/D131951
More information about the llvm-commits
mailing list