[llvm] [LLVM] Make use of s_flbit_i32_b64 and s_ff1_i32_b64 (PR #75158)

Acim Maravic via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 07:11:59 PST 2023


================
@@ -7834,6 +7843,56 @@ void SIInstrInfo::splitScalar64BitBFE(SIInstrWorklist &Worklist,
   addUsersToMoveToVALUWorklist(ResultReg, MRI, Worklist);
 }
 
+void SIInstrInfo::splitScalar64BitCountOp(SIInstrWorklist &Worklist,
----------------
Acim-Maravic wrote:

I added a comment. The final add with 64 was because I thought that when input is all zeroes it should return 64..., I changed that now. I have added tests, I hope that is okay now.

https://github.com/llvm/llvm-project/pull/75158


More information about the llvm-commits mailing list