anemet added a subscriber: anemet. anemet added a comment. I would also like to see a comment in the code. Something along the lines of @mkuper or @mssimpso's explanation as to why getScalarValue(0, 0) works for all GEP operands. Repository: rL LLVM https://reviews.llvm.org/D24557