[all-commits] [llvm/llvm-project] 7b362d: [SCCP] Preserve Name when converting SExt->ZExt.
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue May 10 09:14:14 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7b362ddda9ca53906b0be6fe30c64fd1a910d9d4
https://github.com/llvm/llvm-project/commit/7b362ddda9ca53906b0be6fe30c64fd1a910d9d4
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-05-10 (Tue, 10 May 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/SCCP.cpp
Log Message:
-----------
[SCCP] Preserve Name when converting SExt->ZExt.
This makes the output IR more readable since we're doing a one to
one replacement.
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D125280
Commit: 4b36d9bde7ac48f1dc93e724a8812fddfda68483
https://github.com/llvm/llvm-project/commit/4b36d9bde7ac48f1dc93e724a8812fddfda68483
Author: Craig Topper <craig.topper at sifive.com>
Date: 2022-05-10 (Tue, 10 May 2022)
Changed paths:
M llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
Log Message:
-----------
[CVP] Preserve exact name when converting sext->zext and ashr->lshr.
Previously we took the old name and always appended a numberic suffix.
Since we're doing a 1:1 replacement, it's clearer to keep the original
name exactly.
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D125281
Compare: https://github.com/llvm/llvm-project/compare/940871dd289c...4b36d9bde7ac
More information about the All-commits
mailing list