[all-commits] [llvm/llvm-project] fe3407: [CGBuilder] Assert that CreateAddrSpaceCast does n...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Feb 16 06:17:27 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fe3407a91b6dcc1100c0b30187aa8c9587c73cad
https://github.com/llvm/llvm-project/commit/fe3407a91b6dcc1100c0b30187aa8c9587c73cad
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-02-16 (Wed, 16 Feb 2022)
Changed paths:
M clang/lib/CodeGen/CGBuilder.h
M clang/lib/CodeGen/CGExpr.cpp
Log Message:
-----------
[CGBuilder] Assert that CreateAddrSpaceCast does not change element type
Address space casts in general may change the element type, but
don't allow it in the method working on Address, so we can
preserve the element type.
CreatePointerBitCastOrAddrSpaceCast() still needs to be addressed.
More information about the All-commits
mailing list