[llvm-commits] [llvm] r130694 - in /llvm/trunk: lib/Analysis/InstructionSimplify.cpp lib/Transforms/InstCombine/InstCombineMulDivRem.cpp test/Transforms/InstSimplify/rem.ll

Eric Christopher echristo at apple.com
Mon May 2 11:59:53 PDT 2011


On May 2, 2011, at 11:58 AM, Duncan Sands wrote:

> Hi Eric,
> 
>> This put a few warnings into the build:
>> 
>> /Volumes/Data/sources/llvm-clean/lib/Analysis/InstructionSimplify.cpp:916:8: warning:
>>       unused variable 'isSigned' [-Wunused-variable]
>>   bool isSigned = Opcode == Instruction::SRem;
>> 
>> 
>> /Volumes/Data/sources/llvm-clean/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp:506:20: warning:
>>       unused variable 'RHS' [-Wunused-variable]
>>   if (ConstantInt *RHS = dyn_cast<ConstantInt>(Op1)) {
> 
> sorry about that - looks like I need to increase my -O level :)

Heh.

Could use clang! :)

Thanks!

-eric



More information about the llvm-commits mailing list