[all-commits] [llvm/llvm-project] a7eae6: [SelectionDAG][X86][PowerPC][Mips] Replace the def...
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri Nov 20 10:07:39 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a7eae62a42761f386c6762bf9434d8296f389db3
https://github.com/llvm/llvm-project/commit/a7eae62a42761f386c6762bf9434d8296f389db3
Author: Craig Topper <craig.topper at sifive.com>
Date: 2020-11-20 (Fri, 20 Nov 2020)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
M llvm/lib/Target/Mips/MipsISelLowering.cpp
M llvm/lib/Target/Mips/MipsISelLowering.h
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.h
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86ISelLowering.h
Log Message:
-----------
[SelectionDAG][X86][PowerPC][Mips] Replace the default implementation of LowerOperationWrapper with the X86 and PowerPC version.
The default version only works if the returned node has a single
result. The X86 and PowerPC versions support multiple results
and allow a single result to be returned from a node with
multiple outputs. And allow a single result that is not result 0
of the node.
Also replace the Mips version since the new version should work
for it. The original version handled multiple results, but only
if the new node and original node had the same number of results.
Differential Revision: https://reviews.llvm.org/D91846
More information about the All-commits
mailing list