[clang] [llvm] [IR] Add `fpmath` to keep list of dropUBImplyingAttrsAndMetadata (PR #179019)
Yingwei Zheng via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 30 22:59:01 PST 2026
================
@@ -576,7 +576,8 @@ void Instruction::dropUBImplyingAttrsAndMetadata(ArrayRef<unsigned> Keep) {
// immediate undefined behavior.
static const unsigned KnownIDs[] = {
LLVMContext::MD_annotation, LLVMContext::MD_range,
- LLVMContext::MD_nonnull, LLVMContext::MD_align, LLVMContext::MD_prof};
+ LLVMContext::MD_nonnull, LLVMContext::MD_align,
+ LLVMContext::MD_fpmath, LLVMContext::MD_prof};
----------------
dtcxzyw wrote:
Can you add some comments above for fpmath?
https://github.com/llvm/llvm-project/pull/179019
More information about the cfe-commits
mailing list