diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2025-05-10 13:14:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-10 13:14:01 +0800 |
commit | 143cce72b1f50bc37363315793b80ae92d2b0ae3 (patch) | |
tree | 249e066fe65007e9facee799ea8838b9713dce47 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | a230bb029813b2988019dce342e2e622af14bd1d (diff) | |
download | llvm-143cce72b1f50bc37363315793b80ae92d2b0ae3.zip llvm-143cce72b1f50bc37363315793b80ae92d2b0ae3.tar.gz llvm-143cce72b1f50bc37363315793b80ae92d2b0ae3.tar.bz2 |
[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.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions