[PATCH] D158329: [X86] Support arch=x86-64{,-v2,-v3,-v4} for target_clones attribute
    Freddy, Ye via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Aug 21 00:45:47 PDT 2023
    
    
  
FreddyYe added inline comments.
================
Comment at: clang/lib/CodeGen/CGBuiltin.cpp:13317
+      continue;
+    Value *Idxs[] = {Builder.getInt32(0), Builder.getInt32(i - 1)};
+    Value *Features = Builder.CreateAlignedLoad(
----------------
Don't quite understand why we need to change from a i32* into <4 x i32>* and the first element here to be always zero.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158329/new/
https://reviews.llvm.org/D158329
    
    
More information about the llvm-commits
mailing list