mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 14:35:54 +00:00
Type inferencing bug
llvm-svn: 25337
This commit is contained in:
parent
eb89d7a5d1
commit
ddc62a9b61
@ -544,6 +544,8 @@ static std::vector<unsigned char> getIntrinsicType(Record *R, bool NotRegisters,
|
||||
// Pattern fragment types will be resolved when they are inlined.
|
||||
return Unknown;
|
||||
} else if (R->isSubClassOf("Register")) {
|
||||
if (NotRegisters)
|
||||
return Unknown;
|
||||
// If the register appears in exactly one regclass, and the regclass has one
|
||||
// value type, use it as the known type.
|
||||
const CodeGenTarget &T = TP.getDAGISelEmitter().getTargetInfo();
|
||||
|
Loading…
Reference in New Issue
Block a user