Skip to content

Commit daeb8b7

Browse files
authored
remove #pragmas (#969)
1 parent 6d068fe commit daeb8b7

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

include/aie/Dialect/AIE/Transforms/AIEPathFinder.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ using SwitchboxNode = struct SwitchboxNode : SwitchboxNodeBase, Switchbox {
8181

8282
// warning: 'xilinx::AIE::ChannelEdge::src' will be initialized after
8383
// SwitchboxNode &src; [-Wreorder]
84-
#pragma GCC diagnostic push
85-
#pragma GCC diagnostic ignored "-Wreorder"
8684
using ChannelEdge = struct ChannelEdge : ChannelEdgeBase, Channel {
8785
using Channel::Channel;
8886

@@ -98,7 +96,6 @@ using ChannelEdge = struct ChannelEdge : ChannelEdgeBase, Channel {
9896

9997
SwitchboxNode &src;
10098
};
101-
#pragma GCC diagnostic pop
10299

103100
class SwitchboxGraph : public SwitchboxGraphBase {
104101
public:

lib/Dialect/AIE/Transforms/AIECoreToStandard.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ using namespace mlir::vector;
3030
using namespace xilinx;
3131
using namespace xilinx::AIE;
3232

33-
#pragma clang diagnostic error "-Wswitch-enum"
34-
3533
static StringRef getArchIntrinsicString(AIEArch arch) {
3634
switch (arch) {
3735
case AIEArch::AIE1:

0 commit comments

Comments
 (0)