diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2015-10-12 16:09:59 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2015-10-12 16:09:59 +0000 |
| commit | b814ef1ad63e738325c3be9f36c607e1aab6060e (patch) | |
| tree | bd16e9964cbd80952b34ed42982d35fbc3f62638 /llvm/lib/Target/X86 | |
| parent | 2e386d3d079f141e810ba13ed53780bd284d3f72 (diff) | |
| download | bcm5719-llvm-b814ef1ad63e738325c3be9f36c607e1aab6060e.tar.gz bcm5719-llvm-b814ef1ad63e738325c3be9f36c607e1aab6060e.zip | |
fix typos; NFC
llvm-svn: 250059
Diffstat (limited to 'llvm/lib/Target/X86')
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelDAGToDAG.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp index df8de82c14b..18dcf9c645e 100644 --- a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -1648,13 +1648,12 @@ bool X86DAGToDAGISel::SelectLEAAddr(SDValue N, Complexity++; // FIXME: We are artificially lowering the criteria to turn ADD %reg, $GA - // to a LEA. This is determined with some expermentation but is by no means + // to a LEA. This is determined with some experimentation but is by no means // optimal (especially for code size consideration). LEA is nice because of // its three-address nature. Tweak the cost function again when we can run // convertToThreeAddress() at register allocation time. if (AM.hasSymbolicDisplacement()) { - // For X86-64, we should always use lea to materialize RIP relative - // addresses. + // For X86-64, always use LEA to materialize RIP-relative addresses. if (Subtarget->is64Bit()) Complexity = 4; else |

