[all-commits] [llvm/llvm-project] 4fc068: [InstCombine] add tests for clamp patterns using m...
RotateRight via All-commits
all-commits at lists.llvm.org
Tue Apr 27 12:36:13 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4fc068eb82c8190308b3e09c2aecbd1a635317f8
https://github.com/llvm/llvm-project/commit/4fc068eb82c8190308b3e09c2aecbd1a635317f8
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2021-04-27 (Tue, 27 Apr 2021)
Changed paths:
M llvm/test/Transforms/InstCombine/minmax-intrinsics.ll
Log Message:
-----------
[InstCombine] add tests for clamp patterns using min/max intrinsics; NFC
Commit: 025bb52903792de3dd29667d42c97fdf13a00f2b
https://github.com/llvm/llvm-project/commit/025bb52903792de3dd29667d42c97fdf13a00f2b
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2021-04-27 (Tue, 27 Apr 2021)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/test/Transforms/InstCombine/minmax-intrinsics.ll
Log Message:
-----------
[InstCombine] fold clamp to 2 values from min/max intrinsics
The "select" versions of these folds is also missing and can
cause infinite loops as shown in:
https://llvm.org/PR48900
...but it seems easier to match these as max/min as a first fix.
https://alive2.llvm.org/ce/z/wv-_dT
Compare: https://github.com/llvm/llvm-project/compare/0a82d885a4fc...025bb5290379
More information about the All-commits
mailing list