[ConstantFold] Fold the comparison of bitcasted global values
This is to simplify icmp instructions in the form like: %cmp = icmp eq i32 (i8*, i8*)* bitcast (i32 (i32**, i32**)* @f32 to i32 %(i8*, i8*)), bitcast (i32 (i64**, i64**) @f64 to i32 (i8*, i8*)*) Here @f32 and @f64 are two functions. Differential Revision: https://reviews.llvm.org/D87850
Loading
Please register or sign in to comment