[all-commits] [llvm/llvm-project] 55d371: [InstSimplify] add folds for fmin/fmax with 'nnan'
RotateRight via All-commits
all-commits at lists.llvm.org
Mon Sep 14 08:51:48 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 55d371abd7f470496f45d960c29bb66da0e81aee
https://github.com/llvm/llvm-project/commit/55d371abd7f470496f45d960c29bb66da0e81aee
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2020-09-14 (Mon, 14 Sep 2020)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/test/Transforms/InstSimplify/fminmax-folds.ll
Log Message:
-----------
[InstSimplify] add folds for fmin/fmax with 'nnan'
maximum(nnan X, +INF) --> +INF
minimum(nnan X, -INF) --> -INF
This is based on the similar codegen transform proposed in:
D87571
More information about the All-commits
mailing list