projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Modules] Fix potential ODR violations by sinking the DEBUG_TYPE
[oota-llvm.git]
/
lib
/
Transforms
/
InstCombine
/
InstCombine.h
diff --git
a/lib/Transforms/InstCombine/InstCombine.h
b/lib/Transforms/InstCombine/InstCombine.h
index 4ee2f59c17489386d20c9b591c5d9d296c08c12e..1a9dcdd3760c3716980aed9ce2029c12351238e3 100644
(file)
--- a/
lib/Transforms/InstCombine/InstCombine.h
+++ b/
lib/Transforms/InstCombine/InstCombine.h
@@
-20,6
+20,8
@@
#include "llvm/Pass.h"
#include "llvm/Transforms/Utils/SimplifyLibCalls.h"
#include "llvm/Pass.h"
#include "llvm/Transforms/Utils/SimplifyLibCalls.h"
+#define DEBUG_TYPE "instcombine"
+
namespace llvm {
class CallSite;
class DataLayout;
namespace llvm {
class CallSite;
class DataLayout;
@@
-394,8
+396,8
@@
private:
Value *Descale(Value *Val, APInt Scale, bool &NoSignedWrap);
};
Value *Descale(Value *Val, APInt Scale, bool &NoSignedWrap);
};
-
-
} // end namespace llvm.
} // end namespace llvm.
+#undef DEBUG_TYPE
+
#endif
#endif