[all-commits] [llvm/llvm-project] 149bfd: [Clang][CodeGen] Fix type for atomic float incdec ...
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Mon Sep 30 23:47:35 PDT 2024
Branch: refs/heads/release/19.x
Home: https://github.com/llvm/llvm-project
Commit: 149bfdd61c961edbf49c2ea7fadf9d3c1a79a55e
https://github.com/llvm/llvm-project/commit/149bfdd61c961edbf49c2ea7fadf9d3c1a79a55e
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2024-10-01 (Tue, 01 Oct 2024)
Changed paths:
M clang/lib/CodeGen/CGExprScalar.cpp
M clang/test/CodeGen/X86/x86-atomic-double.c
M clang/test/CodeGen/X86/x86-atomic-long_double.c
Log Message:
-----------
[Clang][CodeGen] Fix type for atomic float incdec operators (#107075)
`llvm::ConstantFP::get(llvm::LLVMContext&, APFloat(float))` always
returns a f32 constant.
Fix https://github.com/llvm/llvm-project/issues/107054.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list