projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a29ece1
)
R600: Don't try to fix reg class when copying IMPLICIT_DEF to a register
author
Tom Stellard
<thomas.stellard@amd.com>
Thu, 13 Jun 2013 20:14:00 +0000
(20:14 +0000)
committer
Tom Stellard
<thomas.stellard@amd.com>
Thu, 13 Jun 2013 20:14:00 +0000
(20:14 +0000)
The test case for this is way too complex to be useful as a lit test,
and I was unable to reduce it.
https://bugs.freedesktop.org/show_bug.cgi?id=65438
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183937
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/R600/AMDILISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/R600/AMDILISelDAGToDAG.cpp
b/lib/Target/R600/AMDILISelDAGToDAG.cpp
index 93432a2c97ad5cf5404295e477fcd490ae0219d0..9a5e9e6147af56d179faec53f2503b5adbc916db 100644
(file)
--- a/
lib/Target/R600/AMDILISelDAGToDAG.cpp
+++ b/
lib/Target/R600/AMDILISelDAGToDAG.cpp
@@
-766,7
+766,8
@@
void AMDGPUDAGToDAGISel::PostprocessISelDAG() {
continue;
}
- if (!Val.getNode()->isMachineOpcode()) {
+ if (!Val.getNode()->isMachineOpcode() ||
+ Val.getNode()->getMachineOpcode() == AMDGPU::IMPLICIT_DEF) {
continue;
}