diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2014-11-19 16:58:49 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2014-11-19 16:58:49 +0000 |
commit | e0ddfd11ea0f2fd6ca5b7e92f18d787e8465b7e3 (patch) | |
tree | cd638c27ea0469d81f76816c288ea2ca7614c1b9 /clang/unittests/Format/FormatTestJava.cpp | |
parent | a4c4b5fc0160fb1c3d550f17732690eeb96a3702 (diff) | |
download | llvm-e0ddfd11ea0f2fd6ca5b7e92f18d787e8465b7e3.zip llvm-e0ddfd11ea0f2fd6ca5b7e92f18d787e8465b7e3.tar.gz llvm-e0ddfd11ea0f2fd6ca5b7e92f18d787e8465b7e3.tar.bz2 |
R600/SI: Make SIInstrInfo::isOperandLegal() more strict
A register operand that has a common sub-class with its instruction's
defined register class is not always legal. For example,
SReg_32 and M0Reg both have a common sub-class, but we can't
use an SReg_32 in instructions that expect a M0Reg.
This prevents the llvm.SI.sendmsg.ll test from failing when the fold
operand pass is added.
llvm-svn: 222368
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions