summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorChris B <chris.bieneman@me.com>2024-05-02 17:15:57 -0500
committerGitHub <noreply@github.com>2024-05-02 17:15:57 -0500
commit39172bcfe4ca6f4db09da0f76a3e324dd3888a51 (patch)
treeeb4655dc1fb3df4bb2962a0cdb2e25219b9af1b3 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent0c2a508f4da225262a8d2a224e576bc507bf5e0b (diff)
[HLSL] Cleanup TargetInfo handling (#90694)
We had some odd places where we set target behaviors. We were setting the long size in target-specific code, but it should be language-based. We were not setting the Half float type semantics correctly, and instead were overriding the query in the AST context. This change it moves existing code to the right places in the Target so that as we continue working on target and language feature they are controlled in the right places. It also fixes a bug where the size of `half` was computed incorrectly when native half types are not supported.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions