[llvm] [DAGCombiner] Enable constant folding of (bitcast int_c0) -> fp_c0 (PR #82289)

via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 20 07:10:18 PST 2024


================
@@ -15231,8 +15231,7 @@ SDValue DAGCombiner::visitBITCAST(SDNode *N) {
   // TODO: Support FP bitcasts after legalize types.
----------------
goldsteinn wrote:

https://reviews.llvm.org/D58884, adding what I think is the necessary check.

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


More information about the llvm-commits mailing list