[all-commits] [llvm/llvm-project] 344216: Revert "[c++20] Mark class type NTTPs as done and ...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Mar 2 20:06:27 PST 2021
Branch: refs/heads/release/12.x
Home: https://github.com/llvm/llvm-project
Commit: 344216979213d841b72e44891871c031db622f5d
https://github.com/llvm/llvm-project/commit/344216979213d841b72e44891871c031db622f5d
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2021-03-02 (Tue, 02 Mar 2021)
Changed paths:
M clang/lib/Frontend/InitPreprocessor.cpp
M clang/test/Lexer/cxx-features.cpp
Log Message:
-----------
Revert "[c++20] Mark class type NTTPs as done and start defining the feature test macro."
Some of the parts of this work were reverted; stop defining the feature
test macro for now.
This reverts commit b4c63ef6dd90dba9af26a111c9a78b121c5284b1.
(cherry picked from commit 564f5b0734bd5d265a0046e5ca9d08ae5bc303eb)
Commit: 9760b282ff03ef581d51b3d74d5b33d09b463272
https://github.com/llvm/llvm-project/commit/9760b282ff03ef581d51b3d74d5b33d09b463272
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-03-02 (Tue, 02 Mar 2021)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/test/CodeGen/X86/shift-double.ll
Log Message:
-----------
[DAGCombiner][X86] Don't peek through ANDs on the shift amount in matchRotateSub when called from MatchFunnelPosNeg.
Peeking through AND is only valid if the input to both shifts is
the same. If the inputs are different, then the original pattern
ORs the two values when the masked shift amount is 0. This is ok
if the values are the same since the OR would be a NOP which is
why its ok for rotate.
Fixes PR49365 and reverts PR34641
Differential Revision: https://reviews.llvm.org/D97637
(cherry picked from commit 5de09ef02e24d234d9fc0cd1c6dfe18a1bb784b0)
Compare: https://github.com/llvm/llvm-project/compare/f73ba0f3582b...9760b282ff03
More information about the All-commits
mailing list