[PATCH] D145703: [SPIR-V] Add Machine Value Type for SPIR-V builtins
    Sander de Smalen via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Mar 10 08:15:45 PST 2023
    
    
  
sdesmalen added inline comments.
================
Comment at: llvm/lib/CodeGen/ValueTypes.cpp:592
       return MVT(MVT::aarch64svcount);
+    else if (TargetExtTy->getName().starts_with("spirv."))
+      return MVT(MVT::spirvbuiltin);
----------------
is it sufficient to only specify a single MVT for the different SPIRV types?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145703/new/
https://reviews.llvm.org/D145703
    
    
More information about the llvm-commits
mailing list