[llvm] [X86][MC] Support enc/dec for SETZUCC and promoted SETCC. (PR #86473)

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 27 19:20:34 PDT 2024


================
@@ -127,6 +127,23 @@ let Uses = [EFLAGS], isCodeGenOnly = 1, ForceDisassemble = 1 in {
                 TB, Sched<[WriteSETCCStore]>;
 } // Uses = [EFLAGS]
 
+// SetZUCC and promoted SetCC instructions.
+let Uses = [EFLAGS], mayStore = 1, isCodeGenOnly = 1, ForceDisassemble = 1,
----------------
KanRobert wrote:

Incorrect. `mayStore=1` should be set for memory variant only.

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


More information about the llvm-commits mailing list