We were only allowing these med3 patterns if the operands were known to not be NaN, but we should also allow it if the calls to max/min have the nnan or fast flags.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Pre-committed the GISel test here: https://github.com/llvm/llvm-project/commit/6ec24c1d5c13c3babc82d2fd1c5e17ed59e487ba
Comment Actions
LGTM, thanks!
Please use full context for patches (git diff -U999999999 or arc diff).