OSDN Git Service

[InstCombine] less 'CI' confusion; NFC
authorSanjay Patel <spatel@rotateright.com>
Sun, 5 Jun 2016 00:12:32 +0000 (00:12 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 5 Jun 2016 00:12:32 +0000 (00:12 +0000)
commit6d1e5af20a3274399e9d4602bad61f7a9265449c
tree16bc6e37a9c6f3100ccc22931a5b4e97ed9d703b
parent8c4b6172035bb0b4424fe92654336b5aa3b89f4a
[InstCombine] less 'CI' confusion; NFC

Change the name of the ICmpInst to 'ICmp' and the Constant (was a ConstantInt) to 'C',
so that it's hopefully clearer that 'CI' refers to CastInst in this context.

While we're scrubbing, fix the documentation comment and use 'auto' with 'dyn_cast'.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271817 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp