[PATCH] D93594: [X86] Pass to transform amx intrinsics to scalar operation.
    Bing Yu via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Feb 22 21:54:53 PST 2021
    
    
  
yubing marked 13 inline comments as done.
yubing added inline comments.
================
Comment at: llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:487
+  SmallVector<Instruction *, 8> WorkList;
+  for (BasicBlock *BB : depth_first(&Func)) {
+    for (BasicBlock::iterator II = BB->begin(), IE = BB->end(); II != IE;) {
----------------
LuoYuanke wrote:
> Do we iterate the instructions in topology order or in post order?
It should be pre-order since we need to handle cases without bitcasts, such as, amx-low-intrinsics-no-bitcast.ll
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93594/new/
https://reviews.llvm.org/D93594
    
    
More information about the llvm-commits
mailing list