InstCombine: Fix metadata arguments blocking freeze combining
These are used for special arguments to intrinsics and don't make any sense to consider for poisonness. Fixes not pushing freeze through llvm.fptrunc.round. 92106641 made isGuaranteedNotToBeUndefOrPoison return false for metadata arguments, which doesn't entirely make sense. An alternate patch could switch that to true, and try to filter out adding some pointless noundefs on metadata arguments (I tried that, attributor breaks one case with a llvm.dbg.value in it).
Loading
Please sign in to comment