OSDN Git Service

When using a 4 byte jump table on a 64 bit machine,
authorDuncan Sands <baldrick@free.fr>
Fri, 12 Dec 2008 08:13:38 +0000 (08:13 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 12 Dec 2008 08:13:38 +0000 (08:13 +0000)
commit712f7b3f549644190e90210a07988753f53daa0a
treee33042fe9a7a144f375fd45a6bc3d2b3ebe2957f
parent8c0f244c3ed90a3f702bac09334cac2d3236aecb
When using a 4 byte jump table on a 64 bit machine,
do an extending load of the 4 bytes rather than a
potentially illegal (type) i32 load followed by a
sign extend.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60945 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp