================
@@ -1434,6 +1434,10 @@ bool X86FastISel::X86FastEmitCompare(const Value *Op0, 
const Value *Op1, EVT VT,
   return true;
 }
 
+#define GET_SETCC                                                              
\
+  ((Subtarget->hasZU() && !Subtarget->preferSetCC()) ? X86::SETZUCCr           
\
+                                                     : X86::SETCCr)
----------------
fzou1 wrote:

Right. Updated as `SETCCr` is the instruction likely to be emitted. The 
condition of emitting SETCCr is `!Subtarget->hasZU() || 
Subtarget->preferSetCC()` (when ZU is not enabled or preferSetCC tuning is set).

https://github.com/llvm/llvm-project/pull/173965
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to