summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenDAGPatterns.cpp
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2014-08-01 00:32:35 +0000
committerTom Stellard <thomas.stellard@amd.com>2014-08-01 00:32:35 +0000
commit0e975cf6e51904d38bd0deb0ec13cc5b29481258 (patch)
tree8a2d71cb201d5bac12ab95c4063296388acf4453 /llvm/utils/TableGen/CodeGenDAGPatterns.cpp
parent6407e1e63283e56191e52353650b95c505c41365 (diff)
downloadbcm5719-llvm-0e975cf6e51904d38bd0deb0ec13cc5b29481258.tar.gz
bcm5719-llvm-0e975cf6e51904d38bd0deb0ec13cc5b29481258.zip
R600/SI: Simplify and fix handling of VOP2 in SIInstrInfo::legalizeOperands
We were incorrectly assuming that all VOP2 instructions can read SGPRs in Src0, but this is not true for instructions that read carry-in from VCC. The old logic has been replaced with new logic which checks the defined register classes of the VOP2 instruction to determine whether or not to legalize the operands. llvm-svn: 214465
Diffstat (limited to 'llvm/utils/TableGen/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud