forked from OSchip/llvm-project
Fix typos encountered while working on pass pipeline for O1.
This commit is contained in:
parent
8b7b84e99d
commit
a42e53cccf
|
@ -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());
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue