Missed a break so memcpy cases fell through to memset. Doh.
llvm-svn: 26176
This commit is contained in:
parent
d502610604
commit
038521ef76
|
@ -1631,7 +1631,7 @@ void SelectionDAGLowering::visitMemIntrinsic(CallInst &I, unsigned Op) {
|
|||
// if the size operand falls below a certain threshold.
|
||||
std::vector<SDOperand> OutChains;
|
||||
switch (Op) {
|
||||
default: ; // Do nothing for now.
|
||||
default: break; // Do nothing for now.
|
||||
case ISD::MEMSET: {
|
||||
if (MeetMaxMemopRequirement(MemOps, TLI.getMaxStoresPerMemset(),
|
||||
Size->getValue(), Align, TLI)) {
|
||||
|
|
Loading…
Reference in New Issue