[llvm] [AMDGPU] Add patterns for V_CMP_O/U (PR #69157)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 16 01:57:25 PDT 2023


================
@@ -1110,6 +1114,8 @@ defm : FCMP_Pattern <COND_ULT, V_CMP_NGE_F64_e64, f64>;
 defm : FCMP_Pattern <COND_ULE, V_CMP_NGT_F64_e64, f64>;
 
 let OtherPredicates = [HasTrue16BitInsts] in {
+defm : FCMP_Pattern <COND_O, V_CMP_U_F16_t16_e64, f16>;
+defm : FCMP_Pattern <COND_UO, V_CMP_O_F16_t16_e64, f16>;
----------------
jayfoad wrote:

These two look backwards.

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


More information about the llvm-commits mailing list