MVT::getMVT uses iPTR for pointer types, while we need the actual
authorDan Gohman <gohman@apple.com>
Thu, 21 Aug 2008 17:25:26 +0000 (17:25 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 21 Aug 2008 17:25:26 +0000 (17:25 +0000)
commit7a0e6593d03bd2dd21c3ac7dcf189f1da86b16da
treeccf7606e9167f7ba4979a36ebfea4904ad6c53cd
parentad3460c3c968e33c5b9a07104b9fe5a5c27ff55b
MVT::getMVT uses iPTR for pointer types, while we need the actual
intptr_t type in this case. FastISel can now select simple
getelementptr instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55125 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/FastISel.cpp
test/CodeGen/X86/fast-isel.ll