[llvm] r202459 - Trying to unbreak the darwin11 builder
Hal Finkel
hfinkel at anl.gov
Thu Feb 27 17:17:25 PST 2014
Author: hfinkel
Date: Thu Feb 27 19:17:25 2014
New Revision: 202459
URL: http://llvm.org/viewvc/llvm-project?rev=202459&view=rev
Log:
Trying to unbreak the darwin11 builder
The CR bit tracking code broke PPC/Darwin; trying to get it working again...
(the darwin11 builder, which defaults to the darwin ABI when running PPC tests,
asserted when running test/CodeGen/PowerPC/inverted-bool-compares.ll)
Modified:
llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp?rev=202459&r1=202458&r2=202459&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCISelLowering.cpp Thu Feb 27 19:17:25 2014
@@ -2641,6 +2641,7 @@ PPCTargetLowering::LowerFormalArguments_
switch(ObjectVT.getSimpleVT().SimpleTy) {
default: llvm_unreachable("Unhandled argument type!");
+ case MVT::i1:
case MVT::i32:
case MVT::f32:
VecArgOffset += 4;
@@ -2764,6 +2765,7 @@ PPCTargetLowering::LowerFormalArguments_
switch (ObjectVT.getSimpleVT().SimpleTy) {
default: llvm_unreachable("Unhandled argument type!");
+ case MVT::i1:
case MVT::i32:
if (!isPPC64) {
if (GPR_idx != Num_GPR_Regs) {
@@ -4399,6 +4401,7 @@ PPCTargetLowering::LowerCall_Darwin(SDVa
switch (Arg.getSimpleValueType().SimpleTy) {
default: llvm_unreachable("Unexpected ValueType for argument!");
+ case MVT::i1:
case MVT::i32:
case MVT::i64:
if (GPR_idx != NumGPRs) {
More information about the llvm-commits
mailing list