projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54c1aa2
)
[AMDGPU] Use MCInstrDesc::getSize. NFC.
author
Jay Foad
<jay.foad@amd.com>
Wed, 11 Jan 2023 13:16:34 +0000
(13:16 +0000)
committer
Jay Foad
<jay.foad@amd.com>
Wed, 11 Jan 2023 13:22:38 +0000
(13:22 +0000)
llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
b/llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
index
be4b477
..
2592584
100644
(file)
--- a/
llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
+++ b/
llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
@@
-599,7
+599,7
@@
bool GCNDPPCombine::combineDPPMov(MachineInstr &MovMI) const {
LLVM_DEBUG(dbgs() << " try: " << OrigMI);
auto OrigOp = OrigMI.getOpcode();
- assert((TII->get(OrigOp).
Size
!= 4 || !AMDGPU::isTrue16Inst(OrigOp)) &&
+ assert((TII->get(OrigOp).
getSize()
!= 4 || !AMDGPU::isTrue16Inst(OrigOp)) &&
"There should not be e32 True16 instructions pre-RA");
if (OrigOp == AMDGPU::REG_SEQUENCE) {
Register FwdReg = OrigMI.getOperand(0).getReg();