diff options
author | Chris Lattner <sabre@nondot.org> | 2005-08-26 20:25:03 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-08-26 20:25:03 +0000 |
commit | 0bbea954331b8f08afa5b094dfb0841829c70eaa (patch) | |
tree | 366b80f259411786aef2c8a6c4d28c1c67fad3ee /lib/Target/PowerPC/PPCISelPattern.cpp | |
parent | 9fdd6e3f50b7fdafff9aa0e1bac0bd2a78d03d71 (diff) |
Make fsel emission work with both the pattern and dag-dag selectors, by
giving it a non-instruction opcode. The dag->dag selector used to not
select the operands of the fsel, because it thought that whole tree was
already selected.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23091 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCISelPattern.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCISelPattern.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCISelPattern.cpp b/lib/Target/PowerPC/PPCISelPattern.cpp index de87667b63..50b10e41f1 100644 --- a/lib/Target/PowerPC/PPCISelPattern.cpp +++ b/lib/Target/PowerPC/PPCISelPattern.cpp @@ -811,7 +811,7 @@ unsigned ISel::SelectExpr(SDOperand N, bool Recording) { default: Node->dump(); std::cerr << '\n'; assert(0 && "Node not handled!\n"); - case ISD::BUILTIN_OP_END+PPC::FSEL: + case PPCISD::FSEL: Tmp1 = SelectExpr(N.getOperand(0)); Tmp2 = SelectExpr(N.getOperand(1)); Tmp3 = SelectExpr(N.getOperand(2)); |