[all-commits] [llvm/llvm-project] c9d624: [SDAG] Ensure load is included in output chain of ...
Benjamin Maxwell via All-commits
all-commits at lists.llvm.org
Tue May 20 02:44:12 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c9d62491981fe720c1b3255fa2f9ddf744590c65
https://github.com/llvm/llvm-project/commit/c9d62491981fe720c1b3255fa2f9ddf744590c65
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2025-05-20 (Tue, 20 May 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
A llvm/test/CodeGen/X86/pr140491-sincos-lifetimes.ll
Log Message:
-----------
[SDAG] Ensure load is included in output chain of sincos expansion (#140525)
The load not being included in the chain meant that it could materialize
after a `@llvm.lifetime.end` annotation on the pointer. This could
result in miscompiles if the stack slot is reused for another value.
Fixes https://github.com/llvm/llvm-project/issues/140491
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