mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 20:29:30 +00:00
Add CodeGen support for indirect branches.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85323 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
569d9d910b
commit
64825153a2
@ -2132,8 +2132,9 @@ void SelectionDAGLowering::visitSwitch(SwitchInst &SI) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SelectionDAGLowering::visitIndBr(IndBrInst &I) {
|
void SelectionDAGLowering::visitIndBr(IndBrInst &I) {
|
||||||
errs() << "indbr codegen not implemented yet!\n";
|
DAG.setRoot(DAG.getNode(ISD::BRIND, getCurDebugLoc(),
|
||||||
abort();
|
MVT::Other, getControlRoot(),
|
||||||
|
getValue(I.getAddress())));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user