diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2018-02-09 16:57:48 +0000 | 
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2018-02-09 16:57:48 +0000 | 
| commit | bcf7bec4b861907ab0412cb6e92b31b884f15fbc (patch) | |
| tree | 94c87b1f89efc5f93f43f5d3057e2c7eee1cd78d /llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h | |
| parent | b5f12090fcf95c65fb12b61bbea297dee93e5134 (diff) | |
| download | bcm5719-llvm-bcf7bec4b861907ab0412cb6e92b31b884f15fbc.tar.gz bcm5719-llvm-bcf7bec4b861907ab0412cb6e92b31b884f15fbc.zip  | |
AMDGPU: Fix layering issue
Move utility function that depends on codegen.
Fixes build with r324487 reapplied.
llvm-svn: 324746
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h')
| -rw-r--r-- | llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h b/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h index a9fcd483463..74e14ef8fbd 100644 --- a/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h +++ b/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h @@ -50,6 +50,8 @@ public:    /// Return -1 if the target-specific opcode for the pseudo instruction does    /// not exist. If Opcode is not a pseudo instruction, this is identity.    int pseudoToMCOpcode(int Opcode) const; + +  static bool isUniformMMO(const MachineMemOperand *MMO);  };  } // End llvm namespace  | 

