[CodeGen] Constify changeTypeToInteger
authorItay Bookstein <itay.bookstein@nextsilicon.com>
Mon, 17 Jul 2023 18:56:27 +0000 (21:56 +0300)
committerItay Bookstein <itay.bookstein@nextsilicon.com>
Mon, 17 Jul 2023 21:41:43 +0000 (00:41 +0300)
commit0e326d04acfc3d02fb976f9029937221cbb7f1bf
treeefee0e5d5f98a347735bb58a465de3471ac67657
parentdae52dd07d633673fe3ff2a6b5e5c71f9affc470
[CodeGen] Constify changeTypeToInteger

Surrounding methods are const, seems to be an oversight.

Signed-off-by: Itay Bookstein <itay.bookstein@nextsilicon.com>
Reviewed By: bogner

Differential Revision: https://reviews.llvm.org/D155505
llvm/include/llvm/CodeGen/ValueTypes.h