Commit 2b582440 authored by Matt Arsenault's avatar Matt Arsenault
Browse files

InstCombine: Fold is.fpclass(x, fcInf) to fabs+fcmp

This is a better canonical form. fcmp and fabs are more widely
understood and fabs can fold for free into some sources.

Addresses todo from D146170

https://reviews.llvm.org/D159084
parent e8824e05
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment