mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
Fix copy+pastos in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55918 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -215,7 +215,7 @@ bool X86FastISel::X86FastEmitLoad(MVT VT, unsigned Ptr, Value *GV,
|
|||||||
bool
|
bool
|
||||||
X86FastISel::X86FastEmitStore(MVT VT, unsigned Val,
|
X86FastISel::X86FastEmitStore(MVT VT, unsigned Val,
|
||||||
unsigned Ptr, unsigned Offset, Value *V) {
|
unsigned Ptr, unsigned Offset, Value *V) {
|
||||||
// Get opcode and regclass of the output for the given load instruction.
|
// Get opcode and regclass of the output for the given store instruction.
|
||||||
unsigned Opc = 0;
|
unsigned Opc = 0;
|
||||||
const TargetRegisterClass *RC = NULL;
|
const TargetRegisterClass *RC = NULL;
|
||||||
switch (VT.getSimpleVT()) {
|
switch (VT.getSimpleVT()) {
|
||||||
@@ -324,7 +324,7 @@ bool X86FastISel::X86SelectStore(Instruction* I) {
|
|||||||
Value *V = I->getOperand(1);
|
Value *V = I->getOperand(1);
|
||||||
unsigned Ptr = getRegForValue(V);
|
unsigned Ptr = getRegForValue(V);
|
||||||
if (Ptr == 0) {
|
if (Ptr == 0) {
|
||||||
// Handle constant load address.
|
// Handle constant store address.
|
||||||
if (!isa<Constant>(V) || !X86SelectConstAddr(V, Ptr))
|
if (!isa<Constant>(V) || !X86SelectConstAddr(V, Ptr))
|
||||||
// Unhandled operand. Halt "fast" selection and bail.
|
// Unhandled operand. Halt "fast" selection and bail.
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user