aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-03-22 07:53:40 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-03-22 07:53:40 +0000
commitc73ede0a9beaee2e11d004f816a8207d9bd79072 (patch)
tree690e9c687af57a36e76a78f854694092863a69d8
parent89a3d3f25cf58c940189d87356141d2610042d58 (diff)
downloadexternal_llvm-c73ede0a9beaee2e11d004f816a8207d9bd79072.zip
external_llvm-c73ede0a9beaee2e11d004f816a8207d9bd79072.tar.gz
external_llvm-c73ede0a9beaee2e11d004f816a8207d9bd79072.tar.bz2
Another comments fixing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48683 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp2
-rw-r--r--lib/Target/X86/X86ATTAsmPrinter.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index 94eba83..2f109a2 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -822,7 +822,7 @@ SDOperand SelectionDAG::getGlobalAddress(const GlobalValue *GV,
const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV);
if (!GVar) {
- // If GV is an alias - use aliasee for determing thread-localness
+ // If GV is an alias then use the aliasee for determining thread-localness.
if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV))
GVar = dyn_cast_or_null<GlobalVariable>(GA->resolveAliasedGlobal());
}
diff --git a/lib/Target/X86/X86ATTAsmPrinter.cpp b/lib/Target/X86/X86ATTAsmPrinter.cpp
index ea003c3..37afb46 100644
--- a/lib/Target/X86/X86ATTAsmPrinter.cpp
+++ b/lib/Target/X86/X86ATTAsmPrinter.cpp
@@ -281,7 +281,8 @@ void X86ATTAsmPrinter::printOperand(const MachineInstr *MI, unsigned OpNo,
const GlobalValue *GV = MO.getGlobal();
const GlobalVariable *GVar = dyn_cast<GlobalVariable>(GV);
if (!GVar) {
- // If GV is an alias - use aliasee for determing thread-localness
+ // If GV is an alias then use the aliasee for determining
+ // thread-localness.
if (const GlobalAlias *GA = dyn_cast<GlobalAlias>(GV))
GVar = dyn_cast_or_null<GlobalVariable>(GA->resolveAliasedGlobal());
}