[llvm-commits] [llvm] r55187 - /llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
Dan Gohman
gohman at apple.com
Fri Aug 22 10:37:49 PDT 2008
Author: djg
Date: Fri Aug 22 12:37:48 2008
New Revision: 55187
URL: http://llvm.org/viewvc/llvm-project?rev=55187&view=rev
Log:
Add FastISel support for PHINodes. Machine PHI nodes
are not yet updated properly, but that's a separate
task.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp?rev=55187&r1=55186&r2=55187&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/FastISel.cpp Fri Aug 22 12:37:48 2008
@@ -210,6 +210,11 @@
// Something more complicated. Halt "fast" selection and bail.
return I;
}
+
+ case Instruction::PHI:
+ // PHI nodes are already emitted.
+ break;
+
default:
// Unhandled instruction. Halt "fast" selection and bail.
return I;
More information about the llvm-commits
mailing list