[all-commits] [llvm/llvm-project] 663190: [InstCombine] use isKnownNonNegative to reduce cod...
Sanjay Patel via All-commits
all-commits at lists.llvm.org
Mon Apr 25 14:13:44 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6631907ad20f74eec47fee461f90a21531ec7822
https://github.com/llvm/llvm-project/commit/6631907ad20f74eec47fee461f90a21531ec7822
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-04-25 (Mon, 25 Apr 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
Log Message:
-----------
[InstCombine] use isKnownNonNegative to reduce code duplication; NFC
We may be able to make the ValueTracking wrapper smarter
in the future (for example, analyze a simple recurrence),
so this will automatically benefit if that happens.
Commit: 6c8cb219f5d497b2f7ba850da7ca5ecf45b947fd
https://github.com/llvm/llvm-project/commit/6c8cb219f5d497b2f7ba850da7ca5ecf45b947fd
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-04-25 (Mon, 25 Apr 2022)
Changed paths:
R llvm/test/Transforms/InstCombine/2008-01-21-MismatchedCastAndCompare.ll
A llvm/test/Transforms/InstCombine/icmp-ext-ext.ll
Log Message:
-----------
[InstCombine] add tests for icmp with extended operands; NFC
Compare: https://github.com/llvm/llvm-project/compare/b3e8e43789d2...6c8cb219f5d4
More information about the All-commits
mailing list