[all-commits] [llvm/llvm-project] 739c86: [llvm] Use more explicit cast methods (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Sep 29 02:24:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 739c86df807748182e576e11697db6002738aafd
https://github.com/llvm/llvm-project/commit/739c86df807748182e576e11697db6002738aafd
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-09-29 (Fri, 29 Sep 2023)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
M llvm/unittests/Analysis/SparsePropagation.cpp
M llvm/unittests/Linker/LinkModulesTest.cpp
Log Message:
-----------
[llvm] Use more explicit cast methods (NFC)
Instead of ConstantExpr::getCast() with a fixed opcode, use the
corresponding getXYZ methods instead. For the one place creating
a pointer bitcast drop it entirely, as this is redundant with
opaque pointers.
More information about the All-commits
mailing list