Fix typos encountered while working on pass pipeline for O1.

This commit is contained in:
Eric Christopher 2020-05-12 00:44:05 -07:00
parent 8b7b84e99d
commit a42e53cccf
3 changed files with 3 additions and 3 deletions

View File

@ -857,7 +857,7 @@ ModulePassManager PassBuilder::buildModuleSimplificationPipeline(
// constants.
MPM.addPass(createModuleToFunctionPassAdaptor(PromotePass()));
// Remove any dead arguments exposed by cleanups and constand folding
// Remove any dead arguments exposed by cleanups and constant folding
// globals.
MPM.addPass(DeadArgumentEliminationPass());

View File

@ -145,7 +145,7 @@ namespace {
/// Legacy pass for lowering is.constant intrinsics out of the IR.
///
/// When this pass is run over a function it converts is.constant intrinsics
/// into 'true' or 'false'. This is completements the normal constand folding
/// into 'true' or 'false'. This complements the normal constant folding
/// to 'true' as part of Instruction Simplify passes.
class LowerConstantIntrinsics : public FunctionPass {
public:

View File

@ -1,6 +1,6 @@
; RUN: llc -verify-machineinstrs < %s
;
; The lowering of a switch combined with constand folding would leave spurious extra arguments on a PHI instruction.
; The lowering of a switch combined with constant folding would leave spurious extra arguments on a PHI instruction.
;
target triple = "x86_64-apple-darwin10"