mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Trivial cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175771 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1529,8 +1529,8 @@ void PPCDAGToDAGISel::PostprocessISelDAG() {
|
|||||||
DebugLoc dl = GA->getDebugLoc();
|
DebugLoc dl = GA->getDebugLoc();
|
||||||
const GlobalValue *GV = GA->getGlobal();
|
const GlobalValue *GV = GA->getGlobal();
|
||||||
ImmOpnd = CurDAG->getTargetGlobalAddress(GV, dl, MVT::i64, 0, Flags);
|
ImmOpnd = CurDAG->getTargetGlobalAddress(GV, dl, MVT::i64, 0, Flags);
|
||||||
}
|
} else if (ConstantPoolSDNode *CP =
|
||||||
else if (ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(ImmOpnd)) {
|
dyn_cast<ConstantPoolSDNode>(ImmOpnd)) {
|
||||||
const Constant *C = CP->getConstVal();
|
const Constant *C = CP->getConstVal();
|
||||||
ImmOpnd = CurDAG->getTargetConstantPool(C, MVT::i64,
|
ImmOpnd = CurDAG->getTargetConstantPool(C, MVT::i64,
|
||||||
CP->getAlignment(),
|
CP->getAlignment(),
|
||||||
|
Reference in New Issue
Block a user