mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
Type inferencing bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25337 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2e0348e18e
commit
37e9005db3
@ -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…
x
Reference in New Issue
Block a user