[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 09:25:37 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:

Its for multiuse case, since we are creating an additional instruction need it be free no?.

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


More information about the llvm-commits mailing list