[all-commits] [llvm/llvm-project] 4e62d2: [ConstantFold] Add test for load of padding (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Jan 5 03:48:05 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4e62d210c43086136b6c95a3c1806afaf6b38651
https://github.com/llvm/llvm-project/commit/4e62d210c43086136b6c95a3c1806afaf6b38651
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-01-05 (Wed, 05 Jan 2022)
Changed paths:
M llvm/test/Transforms/InstSimplify/ConstProp/loads.ll
Log Message:
-----------
[ConstantFold] Add test for load of padding (NFC)
This currently load zero rather than undef.
Commit: 3dc1907d063c1fb1617a0043d5fdb89104e7f7a3
https://github.com/llvm/llvm-project/commit/3dc1907d063c1fb1617a0043d5fdb89104e7f7a3
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-01-05 (Wed, 05 Jan 2022)
Changed paths:
M clang/test/CodeGen/aapcs-align.cpp
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/test/Transforms/InstSimplify/ConstProp/loads.ll
Log Message:
-----------
[ConstantFold] Use ConstantFoldLoadFromUniformValue() in more places
In particular, this also preserves undef when loading from padding,
rather than converting it to zero through a different codepath.
This is the remaining part of D115924.
Compare: https://github.com/llvm/llvm-project/compare/8f6af1d46889...3dc1907d063c
More information about the All-commits
mailing list