fix obviously bogus (IMO) operand index of the load in asserts
authorGabor Greif <ggreif@gmail.com>
Fri, 20 Apr 2012 08:58:49 +0000 (08:58 +0000)
committerGabor Greif <ggreif@gmail.com>
Fri, 20 Apr 2012 08:58:49 +0000 (08:58 +0000)
commitc77d6781d53d4ebdb5e8dba26f34bd58af1ee7cb
treee1bbc7d843081dd3ac47121e6498953900b60f22
parent420761a0f193e87d08ee1c51b26bba23ab4bac7f
fix obviously bogus (IMO) operand index of the load in asserts
(load only has one operand) and smuggle in some whitespace changes too

NB: I am obviously testing the water here, and believe that the unguarded
    cast is still wrong, but why is the getZExtValue of the load's operand
    tested against zero here? Any review is appreciated.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155190 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp