[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
Lauro Ramos Venancio
lauro.venancio at gmail.com
Sat Apr 21 13:56:48 PDT 2007
Changes in directory llvm/include/llvm/CodeGen:
SelectionDAGNodes.h updated: 1.187 -> 1.188
---
Log message:
X86 TLS: Implement review feedback.
---
Diffs of the changes: (+1 -11)
SelectionDAGNodes.h | 12 +-----------
1 files changed, 1 insertion(+), 11 deletions(-)
Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.187 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.188
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.187 Sat Apr 21 13:36:27 2007
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h Sat Apr 21 15:56:26 2007
@@ -19,7 +19,6 @@
#ifndef LLVM_CODEGEN_SELECTIONDAGNODES_H
#define LLVM_CODEGEN_SELECTIONDAGNODES_H
-#include "llvm/GlobalVariable.h"
#include "llvm/Value.h"
#include "llvm/ADT/FoldingSet.h"
#include "llvm/ADT/GraphTraits.h"
@@ -1166,16 +1165,7 @@
protected:
friend class SelectionDAG;
GlobalAddressSDNode(bool isTarget, const GlobalValue *GA, MVT::ValueType VT,
- int o = 0)
- : SDNode(dyn_cast<GlobalVariable>(GA) &&
- dyn_cast<GlobalVariable>(GA)->isThreadLocal() ?
- // Thread Local
- (isTarget ? ISD::TargetGlobalTLSAddress : ISD::GlobalTLSAddress) :
- // Non Thread Local
- (isTarget ? ISD::TargetGlobalAddress : ISD::GlobalAddress),
- getSDVTList(VT)), Offset(o) {
- TheGlobal = const_cast<GlobalValue*>(GA);
- }
+ int o = 0);
public:
GlobalValue *getGlobal() const { return TheGlobal; }
More information about the llvm-commits
mailing list