mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-08 19:36:02 +00:00
Missed a break so memcpy cases fell through to memset. Doh.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
80e89d7d6c
commit
ac940ab1bf
@ -1631,7 +1631,7 @@ void SelectionDAGLowering::visitMemIntrinsic(CallInst &I, unsigned Op) {
|
|||||||
// if the size operand falls below a certain threshold.
|
// if the size operand falls below a certain threshold.
|
||||||
std::vector<SDOperand> OutChains;
|
std::vector<SDOperand> OutChains;
|
||||||
switch (Op) {
|
switch (Op) {
|
||||||
default: ; // Do nothing for now.
|
default: break; // Do nothing for now.
|
||||||
case ISD::MEMSET: {
|
case ISD::MEMSET: {
|
||||||
if (MeetMaxMemopRequirement(MemOps, TLI.getMaxStoresPerMemset(),
|
if (MeetMaxMemopRequirement(MemOps, TLI.getMaxStoresPerMemset(),
|
||||||
Size->getValue(), Align, TLI)) {
|
Size->getValue(), Align, TLI)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user