[llvm] [X86] Fix swapped VPTERNLOG231_imm8/VPTERNLOG312_imm8 SDNodeXForm bodies (PR #209782)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 15 21:48:47 PDT 2026


================
@@ -11786,6 +11786,19 @@ def VPTERNLOG132_imm8 : SDNodeXForm<timm, [{
 def VPTERNLOG231_imm8 : SDNodeXForm<timm, [{
   // Convert a VPTERNLOG immediate by moving operand 1 to the end.
----------------
AntonyCJ30 wrote:

Fixed — comments now correctly use 0-based indexing (VPTERNLOG231: operand 1 to the beginning, VPTERNLOG312: operand 0 to the end). PTAL

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


More information about the llvm-commits mailing list