diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-09-12 14:25:46 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-09-12 14:25:46 +0000 |
commit | 535233171642219f4b6051ddd2d805bcd89b4100 (patch) | |
tree | aea13b81a24e0275e6d7211a8c691949a9ca3afb /llvm/lib/Transforms/InstCombine/InstCombineInternal.h | |
parent | 8f82d45ff418f460baa4f7dd38374f7adb690805 (diff) | |
download | bcm5719-llvm-535233171642219f4b6051ddd2d805bcd89b4100.tar.gz bcm5719-llvm-535233171642219f4b6051ddd2d805bcd89b4100.zip |
fix formatting/typos; NFC
llvm-svn: 281214
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineInternal.h')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombineInternal.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h index 591015e3ce2..bf0f4b2efa1 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineInternal.h +++ b/llvm/lib/Transforms/InstCombine/InstCombineInternal.h @@ -289,16 +289,16 @@ public: Instruction *visitVAStartInst(VAStartInst &I); Instruction *visitVACopyInst(VACopyInst &I); - // visitInstruction - Specify what to return for unhandled instructions... + /// Specify what to return for unhandled instructions. Instruction *visitInstruction(Instruction &I) { return nullptr; } - // True when DB dominates all uses of DI execpt UI. - // UI must be in the same block as DI. - // The routine checks that the DI parent and DB are different. + /// True when DB dominates all uses of DI except UI. + /// UI must be in the same block as DI. + /// The routine checks that the DI parent and DB are different. bool dominatesAllUses(const Instruction *DI, const Instruction *UI, const BasicBlock *DB) const; - // Replace select with select operand SIOpd in SI-ICmp sequence when possible + /// Try to replace select with select operand SIOpd in SI-ICmp sequence. bool replacedSelectWithOperand(SelectInst *SI, const ICmpInst *Icmp, const unsigned SIOpd); |