[all-commits] [llvm/llvm-project] 2cacf4: [X86][TargetLowering] Avoid deleting temporary nod...
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Tue May 13 14:27:48 PDT 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: 2cacf46f35c8fa174a30a4b628a4b19e391a4798
https://github.com/llvm/llvm-project/commit/2cacf46f35c8fa174a30a4b628a4b19e391a4798
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2025-05-13 (Tue, 13 May 2025)
Changed paths:
M llvm/lib/Target/X86/X86ISelLowering.cpp
A llvm/test/CodeGen/X86/pr138982.ll
Log Message:
-----------
[X86][TargetLowering] Avoid deleting temporary nodes in `getNegatedExpression` (#139029)
In the original case, the third call to `getCheaperNegatedExpression`
deletes the SDNode returned by the first call.
Similar to 74e6030bcbcc8e628f9a99a424342a0c656456f9, this patch uses
`HandleSDNodes` to prevent nodes from being deleted by subsequent calls.
Closes https://github.com/llvm/llvm-project/issues/138944.
(cherry picked from commit 143cce72b1f50bc37363315793b80ae92d2b0ae3)
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