[all-commits] [llvm/llvm-project] 630f82: [Clang][CodeGen] Loose the cast check when emittin...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Wed Feb 14 10:00:11 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 630f82ec0c61b772711355fad08ed0d0adce922d
https://github.com/llvm/llvm-project/commit/630f82ec0c61b772711355fad08ed0d0adce922d
Author: Shilei Tian <i at tianshilei.me>
Date: 2024-02-14 (Wed, 14 Feb 2024)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
Log Message:
-----------
[Clang][CodeGen] Loose the cast check when emitting builtins (#81669)
This patch looses the cast check (`canLosslesslyBitCastTo`) and leaves
it to the
one inside `CreateBitCast`. It seems too conservative for the use case
here.
More information about the All-commits
mailing list