diff options
author | Duncan Sands <baldrick@free.fr> | 2007-04-04 06:42:45 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2007-04-04 06:42:45 +0000 |
commit | f01a47c93c498cffe6319e02bb5f6cfc2efb336b (patch) | |
tree | 46eaab2e11ca62712a19b7c44601702cbf5e1af5 /llvm/lib | |
parent | d7799fd17d13b6bb6967830752151605d639872c (diff) | |
download | bcm5719-llvm-f01a47c93c498cffe6319e02bb5f6cfc2efb336b.tar.gz bcm5719-llvm-f01a47c93c498cffe6319e02bb5f6cfc2efb336b.zip |
Fix comment.
llvm-svn: 35655
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index d26fbced5b1..a76152804a8 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp @@ -4903,7 +4903,7 @@ Instruction *InstCombiner::visitICmpInstWithInstAndIntCst(ICmpInst &ICI, const APInt &RHSV = RHS->getValue(); switch (LHSI->getOpcode()) { - case Instruction::Xor: // (icmp pred (and X, XorCST), CI) + case Instruction::Xor: // (icmp pred (xor X, XorCST), CI) if (ConstantInt *XorCST = dyn_cast<ConstantInt>(LHSI->getOperand(1))) { // If this is a comparison that tests the signbit (X < 0) or (x > -1), // fold the xor. |