mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-16 11:08:09 +00:00
Turn of jump tables for a bit, there are still some issues to work out with
updating the machine CFG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27949 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a766765358
commit
05f9466cf0
@ -891,7 +891,7 @@ void SelectionDAGLowering::visitSwitch(SwitchInst &I) {
|
||||
// FIXME: Make this work with 64 bit targets someday, possibly by always
|
||||
// doing differences there so that entries stay 32 bits.
|
||||
// FIXME: Make this work with PIC code
|
||||
if (TLI.isOperationLegal(ISD::BRIND, TLI.getPointerTy()) &&
|
||||
if (0 && TLI.isOperationLegal(ISD::BRIND, TLI.getPointerTy()) &&
|
||||
TLI.getPointerTy() == MVT::i32 &&
|
||||
(Relocs == Reloc::Static || Relocs == Reloc::DynamicNoPIC) &&
|
||||
Cases.size() > 3) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user