[all-commits] [llvm/llvm-project] 9b0832: [SDAG] Ensure load is included in output chain of ...
Benjamin Maxwell via All-commits
all-commits at lists.llvm.org
Fri May 23 21:05:53 PDT 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: 9b0832508ede38397c8ebb7a348d50ce1517af4a
https://github.com/llvm/llvm-project/commit/9b0832508ede38397c8ebb7a348d50ce1517af4a
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2025-05-23 (Fri, 23 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
(cherry picked from commit c9d62491981fe720c1b3255fa2f9ddf744590c65)
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