Add support for promoting and expanding AssertZext
authorDuncan Sands <baldrick@free.fr>
Wed, 16 Jul 2008 16:03:07 +0000 (16:03 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 16 Jul 2008 16:03:07 +0000 (16:03 +0000)
commit95db39a9de48f69f4d764335b492b83a698c7854
treea9901fb524c3286c1a31583f4e6afe4cd5d1cdd5
parent61e804f22bde414b2e8a8da22daf575a7e8ad816
Add support for promoting and expanding AssertZext
and AssertSext.  Needed when passing huge integer
parameters with the zeroext or signext attributes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53684 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
lib/CodeGen/SelectionDAG/LegalizeTypes.h
test/CodeGen/Generic/APIntSextParam.ll [new file with mode: 0644]
test/CodeGen/Generic/APIntZextParam.ll [new file with mode: 0644]