Issue 143679
Summary [X86] VPTERNLOG asm comments don't discriminate between full / broadcast memory loads
Labels good first issue, backend:X86
Assignees
Reporter RKSimon
    The printPTERNLOGComments helper in X86InstComments.cpp print "mem" for any folded memory load

https://github.com/llvm/llvm-project/blob/79a72c47d09c2e2cee645430f9d290c20d2618f1/llvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp#L915-L948

It would be very useful if instead they use "mem" just for full width loads and "bst32" / "bst64" for 32-bit (D) / 64-bit (Q) broadcasts.

This requires some minor tweaks to the switch statement to split the D/Q cases and an adjustment in the Src3Name handling.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to