aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2014-01-22 22:34:17 +0000
committerOwen Anderson <resistor@mac.com>2014-01-22 22:34:17 +0000
commit77e4d444113557c62add7919204d81f60c772ce4 (patch)
treea5a8a775446c2cceb07aabeb9e1f62bc8a0fd6ca /llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp
parent88b3cc7090ba6b47450bfa4648bc813daadcd360 (diff)
downloadllvm-77e4d444113557c62add7919204d81f60c772ce4.zip
llvm-77e4d444113557c62add7919204d81f60c772ce4.tar.gz
llvm-77e4d444113557c62add7919204d81f60c772ce4.tar.bz2
Revert r162101 and replace it with a solution that works for targets where the pointer type is illegal.
This is a horrible bit of code. We're calling a simplification routine *in the middle* of type legalization. We tell the simplification routine that it's running after legalization, but some of the types it will encounter will be illegal! The fix is only to invoke the simplification if the types in question were legal, so that none of its invariants will be violated. llvm-svn: 199847
Diffstat (limited to 'llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions