[all-commits] [llvm/llvm-project] 752637: [InstSimplify] allow folds for fmin/fmax with 'ninf'
RotateRight via All-commits
all-commits at lists.llvm.org
Mon Sep 14 08:18:36 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 7526376164801cc758c94217931ab025bc226b0e
https://github.com/llvm/llvm-project/commit/7526376164801cc758c94217931ab025bc226b0e
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] allow folds for fmin/fmax with 'ninf'
maxnum(ninf X, +FLT_MAX) --> +FLT_MAX
minnum(ninf X, -FLT_MAX) --> -FLT_MAX
This is based on the similar codegen transform proposed in:
D87571
More information about the All-commits
mailing list