mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
make an array of constants explicitly const
Suggested by Craig Topper in D8184. This goes with r232047. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232056 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a1a34e5477
commit
320572f378
@ -568,7 +568,7 @@ void llvm::UpgradeIntrinsicCall(CallInst *CI, Function *NewFn) {
|
||||
CI->getArgOperand(0),
|
||||
PointerType::getUnqual(VectorType::get(Type::getInt64Ty(C), 2)));
|
||||
Value *Load = Builder.CreateLoad(Op);
|
||||
int Idxs[4] = { 0, 1, 0, 1 };
|
||||
const int Idxs[4] = { 0, 1, 0, 1 };
|
||||
Rep = Builder.CreateShuffleVector(Load, UndefValue::get(Load->getType()),
|
||||
Idxs);
|
||||
} else if (Name == "llvm.x86.sse2.psll.dq") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user