Skip to content

Commit 7594b4b

Browse files
committed
[AMDGPU] Fix compilation errors.
1 parent bfc1651 commit 7594b4b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
namespace llvm {
2323
class AsmPrinter;
2424
class MCContext;
25-
} // namespace llvm
2625

2726
class AMDGPUMCInstLower {
2827
MCContext &Ctx;
@@ -66,4 +65,5 @@ static inline const MCExpr *lowerAddrSpaceCast(const TargetMachine &TM,
6665
return nullptr;
6766
}
6867
} // namespace
68+
} // namespace llvm
6969
#endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUMCINSTLOWER_H

llvm/lib/Target/AMDGPU/R600MCInstLower.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
#include "llvm/MC/MCContext.h"
2121
#include "llvm/MC/MCExpr.h"
2222

23+
using namespace llvm;
24+
2325
namespace {
2426
class R600MCInstLower : public AMDGPUMCInstLower {
2527
public:

0 commit comments

Comments
 (0)