[all-commits] [llvm/llvm-project] b69b6b: DAG: Return the chain from ExpandLibCall
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Jun 30 06:04:05 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b69b6b8399ec49c53617f7cee152028300f1ab4e
https://github.com/llvm/llvm-project/commit/b69b6b8399ec49c53617f7cee152028300f1ab4e
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2023-06-30 (Fri, 30 Jun 2023)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Log Message:
-----------
DAG: Return the chain from ExpandLibCall
If the libcall expansion requires use of the inserted call's result
chain, it's unreliable to query it from the main result. The call
lowering may have added additional casts or other obscuring operations
we don't want to parse through.
Commit: 160d7227e043cd8f491cb706916da953cabfd905
https://github.com/llvm/llvm-project/commit/160d7227e043cd8f491cb706916da953cabfd905
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2023-06-30 (Fri, 30 Jun 2023)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
A llvm/test/CodeGen/ARM/llvm.frexp.ll
Log Message:
-----------
DAG: Fix libcall expansion for frexp on ARM
The ExpandLibcallResult result was a bitcast and not the direct call
result, so we couldn't find the chain. Use the new separate chain
return value instead.
Compare: https://github.com/llvm/llvm-project/compare/1c814c99aaed...160d7227e043
More information about the All-commits
mailing list