[llvm] [X86] Try Folding icmp of v8i32 -> fcmp of v8f32 on AVX (PR #82290)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 1 10:03:11 PST 2024


================
@@ -625,6 +625,8 @@ class TargetLoweringBase {
     return isLoadBitCastBeneficial(StoreVT, BitcastVT, DAG, MMO);
   }
 
+  virtual bool isBitcastFree(EVT DstVT, EVT SrcVT) const { return false; }
----------------
goldsteinn wrote:

I didn't notice any issue, the check just seemed basic due-diligence. I can make the default "true" if you think that makes more sense.

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


More information about the llvm-commits mailing list