[all-commits] [llvm/llvm-project] ff18b1: [CodeGen] Avoid unnecessary ConstantExpr cast
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Apr 5 02:29:00 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ff18b158edc4719c4b05cd04dceaedcf69a8d9c5
https://github.com/llvm/llvm-project/commit/ff18b158edc4719c4b05cd04dceaedcf69a8d9c5
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
Log Message:
-----------
[CodeGen] Avoid unnecessary ConstantExpr cast
With opaque pointers, this is not necessarily a ConstantExpr. And
we don't need one here either, just Constant is sufficient.
More information about the All-commits
mailing list