llvm.org GIT mirror llvm / 5e48675
Fix typos in comments and doc Committing http://reviews.llvm.org/D4798 for Robin Morisset (morisset@google.com) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214934 91177308-0d34-0410-b5e6-96231b3b80d8 JF Bastien 5 years ago
5 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
291291 pointed out numerous times. The common theme is that, while TableGen allows
292292 you to build Domain-Specific-Languages, the final languages that you create
293293 lack the power of other DSLs, which in turn increase considerably the size
294 and complecity of TableGen files.
294 and complexity of TableGen files.
295295
296296 At the same time, TableGen allows you to create virtually any meaning of
297297 the basic concepts via custom-made back-ends, which can pervert the original
1695916959 case ISD::ATOMIC_LOAD_UMIN:
1696016960 case ISD::ATOMIC_LOAD_UMAX:
1696116961 // Delegate to generic TypeLegalization. Situations we can really handle
16962 // should have already been dealt with by X86AtomicExpand.cpp.
16962 // should have already been dealt with by X86AtomicExpandPass.cpp.
1696316963 break;
1696416964 case ISD::ATOMIC_LOAD: {
1696516965 ReplaceATOMIC_LOAD(N, Results, DAG);
31443144
31453145 // Moving EFLAGS to / from another register requires a push and a pop.
31463146 // Notice that we have to adjust the stack if we don't want to clobber the
3147 // first frame index. See X86FrameLowering.cpp - colobbersTheStack.
3147 // first frame index. See X86FrameLowering.cpp - clobbersTheStack.
31483148 if (SrcReg == X86::EFLAGS) {
31493149 if (X86::GR64RegClass.contains(DestReg)) {
31503150 BuildMI(MBB, MI, DL, get(X86::PUSHF64));
28162816 return true;
28172817 }
28182818
2819 // performPRE() will trigger assert if it come across an instruciton without
2819 // performPRE() will trigger assert if it comes across an instruction without
28202820 // associated val-num. As it normally has far more live instructions than dead
28212821 // instructions, it makes more sense just to "fabricate" a val-number for the
28222822 // dead code than checking if instruction involved is dead or not.
183183 }
184184 }
185185
186 /// Determine whether the instructions in this range my be safely and cheaply
186 /// Determine whether the instructions in this range may be safely and cheaply
187187 /// speculated. This is not an important enough situation to develop complex
188188 /// heuristics. We handle a single arithmetic instruction along with any type
189189 /// conversions.
231231 /// Fold the loop tail into the loop exit by speculating the loop tail
232232 /// instructions. Typically, this is a single post-increment. In the case of a
233233 /// simple 2-block loop, hoisting the increment can be much better than
234 /// duplicating the entire loop header. In the cast of loops with early exits,
234 /// duplicating the entire loop header. In the case of loops with early exits,
235235 /// rotation will not work anyway, but simplifyLoopLatch will put the loop in
236236 /// canonical form so downstream passes can handle it.
237237 ///