[PATCH] D154470: [AMDGPU] Fix ISD perm compute known bits wrong.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 13 09:13:09 PDT 2023


foad added inline comments.


================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp:5004
   }
   case AMDGPUISD::PERM: {
     ConstantSDNode *CMask = dyn_cast<ConstantSDNode>(Op.getOperand(2));
----------------
I can't find any test cases where handling PERM here has any effect. I've tested it on a large corpus of graphics shaders.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154470/new/

https://reviews.llvm.org/D154470



More information about the llvm-commits mailing list