[AMDGPU] Fix compilation errors.
This commit is contained in:
parent
bfc16510c7
commit
7594b4b8d1
@ -22,7 +22,6 @@
|
||||
namespace llvm {
|
||||
class AsmPrinter;
|
||||
class MCContext;
|
||||
} // namespace llvm
|
||||
|
||||
class AMDGPUMCInstLower {
|
||||
MCContext &Ctx;
|
||||
@ -66,4 +65,5 @@ static inline const MCExpr *lowerAddrSpaceCast(const TargetMachine &TM,
|
||||
return nullptr;
|
||||
}
|
||||
} // namespace
|
||||
} // namespace llvm
|
||||
#endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUMCINSTLOWER_H
|
||||
|
@ -20,6 +20,8 @@
|
||||
#include "llvm/MC/MCContext.h"
|
||||
#include "llvm/MC/MCExpr.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
namespace {
|
||||
class R600MCInstLower : public AMDGPUMCInstLower {
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user