projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AMDGPU: Add MachineInstr overloads for instruction format tests
[oota-llvm.git]
/
lib
/
Target
/
AMDGPU
/
SIPrepareScratchRegs.cpp
diff --git
a/lib/Target/AMDGPU/SIPrepareScratchRegs.cpp
b/lib/Target/AMDGPU/SIPrepareScratchRegs.cpp
index 5b17369113c843cac77e9b4da2030c0b8f53e423..a6c22775e098e2d1bb4c432a57d65374108550d2 100644
(file)
--- a/
lib/Target/AMDGPU/SIPrepareScratchRegs.cpp
+++ b/
lib/Target/AMDGPU/SIPrepareScratchRegs.cpp
@@
-131,7
+131,7
@@
bool SIPrepareScratchRegs::runOnMachineFunction(MachineFunction &MF) {
MachineInstr &MI = *I;
RS.forward(I);
DebugLoc DL = MI.getDebugLoc();
- if (!TII->isVGPRSpill(MI
.getOpcode()
))
+ if (!TII->isVGPRSpill(MI))
continue;
// Scratch resource