[all-commits] [llvm/llvm-project] 99e78c: [DemandedBits] Add braces to large if (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Sep 10 13:14:10 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 99e78cb7185db1a15afd33020a1e026dc7ac5e1b
https://github.com/llvm/llvm-project/commit/99e78cb7185db1a15afd33020a1e026dc7ac5e1b
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2020-09-10 (Thu, 10 Sep 2020)
Changed paths:
M llvm/lib/Analysis/DemandedBits.cpp
Log Message:
-----------
[DemandedBits] Add braces to large if (NFC)
While the if only contains a single statement, it happens to be
a huge switch. Add braces to make this code easier to read.
Commit: a5168bdb4a25485ac62e18bdc538b4842bc9fbd9
https://github.com/llvm/llvm-project/commit/a5168bdb4a25485ac62e18bdc538b4842bc9fbd9
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2020-09-10 (Thu, 10 Sep 2020)
Changed paths:
M llvm/lib/Analysis/DemandedBits.cpp
M llvm/test/Transforms/BDCE/intrinsics.ll
Log Message:
-----------
[DemandedBits][BDCE] Add support for min/max intrinsics
Add DemandedBits / BDCE support for min/max intrinsics: If the low
bits are not demanded in the result, they also aren't demanded in
the operands.
Differential Revision: https://reviews.llvm.org/D87161
Compare: https://github.com/llvm/llvm-project/compare/476836331f7d...a5168bdb4a25
More information about the All-commits
mailing list