Teach ARM isLegalAddressingMode to handle unknown type without crashing. This fixes...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 25 Jul 2008 00:55:17 +0000 (00:55 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 25 Jul 2008 00:55:17 +0000 (00:55 +0000)
commitd1b3da621bf5134d304d02177a2c6ff912b0d18e
treeb5168241bc513f115689f339cbe655823f1ca516
parent922b3d2e67063532c3a2620aba84ef29d08c3f75
Teach ARM isLegalAddressingMode to handle unknown type without crashing. This fixes pr2589.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54004 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
test/CodeGen/ARM/2008-07-24-CodeGenPrepCrash.ll [new file with mode: 0644]