[PATCH] D68184: AMDGPU: Propagate undef flag during pre-RA exec mask optimizations
    Nicolai Hähnle via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Oct  2 05:02:22 PDT 2019
    
    
  
nhaehnle marked 2 inline comments as done.
nhaehnle added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp:262
+          .addReg(ExecReg)
+          .addReg(CCReg, CC->isUndef() ? RegState::Undef : 0, CC->getSubReg());
   And->eraseFromParent();
----------------
arsenm wrote:
> I think there’s a getUndef
I assume you mean getRegStateUndef.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68184/new/
https://reviews.llvm.org/D68184
    
    
More information about the llvm-commits
mailing list