[PATCH] D155505: [CodeGen] Constify changeTypeToInteger
Itay Bookstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 17 23:31:03 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0e326d04acfc: [CodeGen] Constify changeTypeToInteger (authored by nextsilicon-itay-bookstein).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155505/new/
https://reviews.llvm.org/D155505
Files:
llvm/include/llvm/CodeGen/ValueTypes.h
Index: llvm/include/llvm/CodeGen/ValueTypes.h
===================================================================
--- llvm/include/llvm/CodeGen/ValueTypes.h
+++ llvm/include/llvm/CodeGen/ValueTypes.h
@@ -110,7 +110,7 @@
/// Return the type converted to an equivalently sized integer or vector
/// with integer element type. Similar to changeVectorElementTypeToInteger,
/// but also handles scalars.
- EVT changeTypeToInteger() {
+ EVT changeTypeToInteger() const {
if (isVector())
return changeVectorElementTypeToInteger();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155505.541330.patch
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230718/41912e3a/attachment.bin>
More information about the llvm-commits
mailing list