Partial specialization was not checking the callsite to make sure it was using the...
authorKenneth Uildriks <kennethuil@gmail.com>
Sat, 5 Jun 2010 14:50:21 +0000 (14:50 +0000)
committerKenneth Uildriks <kennethuil@gmail.com>
Sat, 5 Jun 2010 14:50:21 +0000 (14:50 +0000)
commit3a4340d4cb7c8a4914075a93e762f5023f81d084
tree79f4049298e28c6c79bc6a22d47cb37c0adfcbfc
parent431c3e74045d9b5c18f66d941c908f1fc74e37c7
Partial specialization was not checking the callsite to make sure it was using the same constants as the specialization, leading to calls to the wrong specialization.  Patch by Takumi Nakamura\!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105528 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/PartialSpecialization.cpp
test/Transforms/PartialSpecialize/dg.exp [new file with mode: 0644]
test/Transforms/PartialSpecialize/two-specializations.ll [new file with mode: 0644]