OSDN Git Service

Fix PR3994: LLVMMatchType arguments do not refer to absolute return value
authorBob Wilson <bob.wilson@apple.com>
Thu, 16 Apr 2009 21:51:05 +0000 (21:51 +0000)
committerBob Wilson <bob.wilson@apple.com>
Thu, 16 Apr 2009 21:51:05 +0000 (21:51 +0000)
commitd305e707a65fa18cbe828cae2338499661c9229e
treead523234ffd50dc1c163bfb0b977546a647690d3
parent3f91bb3ce4c8f6e31c4051cc10799e54c3a26a3a
Fix PR3994: LLVMMatchType arguments do not refer to absolute return value
and argument positions but only to the overloaded intrinsic parameters.
Keep a separate list of these overloaded parameters in CodeGenTarget.cpp
so they can be resolved easily.  Remove assertions from IntrinsicEmitter.cpp:
they were harmless but confusing, and the assertions elsewhere in TableGen
will catch any incorrect values.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69316 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/CodeGenTarget.cpp
utils/TableGen/IntrinsicEmitter.cpp