=?utf-8?q?Balázs_Kéri?= <balazs.k...@ericsson.com>, Endre =?utf-8?q?Fülöp?= <endre.fu...@sigmatechnology.se>,Michael Buch <michaelbuc...@gmail.com>,Momchil Velikov <momchil.veli...@arm.com>,S. B. Tam <cpplear...@outlook.com>=?utf-8?q?,?=Matthew Devereau <matthew.dever...@arm.com>,QuietMisdreavus <quietmisdrea...@users.noreply.github.com>,Anatoly Trosinenko <atrosine...@accesssoftek.com>,Diana <diana-magda.pi...@amd.com>,Akash Banerjee <akash.baner...@amd.com>,Ivan Kosarev <ivan.kosa...@amd.com>,Simon Pilgrim <llvm-...@redking.me.uk>,Benjamin Maxwell <benjamin.maxw...@arm.com>,Simon Pilgrim <rksi...@users.noreply.github.com>,David Sherwood <57997763+david-...@users.noreply.github.com>,Leandro Lupori <leandro.lup...@linaro.org>,Utkarsh Saxena <u...@google.com>,Jeremy Morse <jeremy.mo...@sony.com>,elhewaty <mohamedatef1...@gmail.com>,David Spickett <david.spick...@linaro.org>,David Truby <da...@truby.dev>,Alexey Bataev <a.bat...@outlook.com>,Momchil Velikov <momchil.veli...@arm.com>,Utkarsh Saxena <u...@google.com>,Timm Baeder <tbae...@redhat.com>,Aaron Ballman <aa...@aaronballman.com>,Qiongsi Wu <274595+qiongs...@users.noreply.github.com>,Alexey Bataev <a.bat...@outlook.com>,Alex Richardson <alexrichard...@google.com>,Z572 <zhengjun...@iscas.ac.cn>,Youngsuk Kim <youngsuk....@hpe.com>,Aart Bik <39774503+aart...@users.noreply.github.com>,Hans <h...@hanshq.net>,Alexey Bataev <a.bat...@outlook.com>,Acim-Maravic <119684637+acim-mara...@users.noreply.github.com>,Joseph Huber <hube...@outlook.com>,androm3da <bc...@quicinc.com>,Benjamin Kramer <benny....@googlemail.com>,Acim Maravic <119684637+acim-mara...@users.noreply.github.com>,Alexey Bataev <a.bat...@outlook.com>,Michael Maitland <michaeltmaitl...@gmail.com>,Jan Patrick Lehr <jpl...@users.noreply.github.com>,Mingming Liu <mingmi...@google.com>,Fangrui Song <i...@maskray.me>,Walter Erquinigo <a20012...@gmail.com>,Joseph Huber <hube...@outlook.com>,Alan Phipps <a-phi...@ti.com>,Timm Baeder <tbae...@redhat.com>,lntue <35648136+ln...@users.noreply.github.com>,Zequan Wu <zequa...@google.com>,Alexey Bataev <a.bat...@outlook.com>,AdityaK <1894981+hiradi...@users.noreply.github.com>,Maksim Panchenko <m...@fb.com>,Jacek Caban <ja...@codeweavers.com>,Benjamin Kramer <benny....@googlemail.com>,Leonard Chan <leonardc...@google.com>,Changpeng Fang <changpeng.f...@amd.com>,Jan Patrick Lehr <jpl...@users.noreply.github.com>,PiJoules <6019989+pijou...@users.noreply.github.com>,Christudasan Devadasan <christudasan.devada...@amd.com>, Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,Aart Bik <39774503+aart...@users.noreply.github.com>, Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,Julian Schmidt <44101708+5chmi...@users.noreply.github.com>,Jacek Caban <ja...@codeweavers.com>,Max191 <44243577+max...@users.noreply.github.com>,Nicolas van Kempen <nvankem...@meta.com>,=?utf-8?q?Félix-Antoine?= Constantin,Peter Klausler <35819229+klaus...@users.noreply.github.com>,Jake Egan <5326451+jakee...@users.noreply.github.com>,Kiran Chandramohan <kiran.chandramo...@arm.com>,Kiran Chandramohan <kiran.chandramo...@arm.com>, Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,Kiran Chandramohan <kiran.chandramo...@arm.com>,Karthika Devi C <quic_ka...@quicinc.com>,Nikolas Klauser <nikolasklau...@berlin.de>,Maksim Levental <maksim.leven...@gmail.com>,Florian Mayer <fma...@google.com>,Florian Mayer <fma...@google.com>,Florian Mayer <fma...@google.com>,Aart Bik <39774503+aart...@users.noreply.github.com>,Benjamin Kramer <benny....@googlemail.com>,Vitaly Buka <vitalyb...@google.com>,Vitaly Buka <vitalyb...@google.com>,Michael Maitland <michaeltmaitl...@gmail.com>,Benjamin Kramer <benny....@googlemail.com>,Andres Villegas <andre...@google.com>,Greg Clayton <gclay...@fb.com>,Nico Weber <tha...@chromium.org>,Jinyang He <hejiny...@loongson.cn>,Chen Zheng <czhen...@cn.ibm.com>,Craig Topper <craig.top...@sifive.com>,ZhaoQi <zhaoq...@loongson.cn>,Mircea Trofin <mtro...@google.com>,Max191 <44243577+max...@users.noreply.github.com>,Shengchen Kan <shengchen....@intel.com>,Qiu Chaofan <qiuco...@cn.ibm.com>,Vitaly Buka <vitalyb...@google.com>,Kiran Chandramohan <kiran.chandramo...@arm.com>,Kiran Chandramohan <kiran.chandramo...@arm.com>,"Yueh-Ting (eop) Chen" <yueh.ting.c...@gmail.com>,Shengchen Kan <shengchen....@intel.com>,Timm Baeder <tbae...@redhat.com>,Timm Baeder <tbae...@redhat.com>, Timm =?utf-8?q?Bäder?= <tbae...@redhat.com>,Michael Buch <michaelbuc...@gmail.com>,Nikita Popov <npo...@redhat.com>,Nikita Popov <npo...@redhat.com>,Michael Buch <michaelbuc...@gmail.com>,jeanPerier <jper...@nvidia.com>,Luke Lau <l...@igalia.com>,Momchil Velikov <momchil.veli...@arm.com>,Rik Huijzer <git...@huijzer.xyz>,Kiran Chandramohan <kiran.chandramo...@arm.com>,"Yueh-Ting (eop) Chen" <yueh.ting.c...@gmail.com>,Ben Shi <2283975...@qq.com>, Stefan =?utf-8?q?Gränitz?= <stefan.graen...@gmail.com>,Michael Buch <michaelbuc...@gmail.com>,Akash Banerjee <akash.baner...@amd.com>,Jay Foad <jay.f...@amd.com>,Michael Buch <michaelbuc...@gmail.com>,Michael Buch <michaelbuc...@gmail.com>,Valery Pykhtin <valery.pykh...@gmail.com>,Jay Foad <jay.f...@amd.com>,Jacek Caban <ja...@codeweavers.com>,chuongg3 <chuong....@arm.com>,Simon Pilgrim <llvm-...@redking.me.uk>,Simon Pilgrim <llvm-...@redking.me.uk>,Simon Pilgrim <llvm-...@redking.me.uk>,Alex Bradbury <a...@igalia.com>,Timm =?utf-8?q?Bäder?= <tbae...@redhat.com>,petar-avramovic <56677889+petar-avramo...@users.noreply.github.com>,Kiran Chandramohan <kiran.chandramo...@arm.com>,Tavian Barnes <taviana...@tavianator.com>,Yingwei Zheng <dtcxzyw2...@gmail.com>,serge-sans-paille <sguel...@mozilla.com>,Cullen Rhodes <cullen.rho...@arm.com>,agozillon <andrew.gozil...@amd.com>,Alex Bradbury <a...@igalia.com>,Alexey Bataev <a.bat...@outlook.com>,David Truby <david.tr...@arm.com>,petar-avramovic <56677889+petar-avramo...@users.noreply.github.com>,Florian Hahn <f...@fhahn.com>,Z572 <zhengjun...@iscas.ac.cn>,Nikita Popov <npo...@redhat.com>,Simon Pilgrim <llvm-...@redking.me.uk>,Simon Pilgrim <llvm-...@redking.me.uk>,Jeremy Morse <jeremy.mo...@sony.com>,Kiran Chandramohan <kiran.chandramo...@arm.com>,Nicolas Vasilache <nicolas.vasila...@gmail.com>,Bill Wendling <5993918+bwendl...@users.noreply.github.com>,Heejin Ahn <ahee...@gmail.com>,antoine moynault <antoine.moyna...@linaro.org>,Kiran Chandramohan <kiran.chandramo...@arm.com>,Michael Buch <michaelbuc...@gmail.com>,Cyndy Ishida <cyndy_ish...@apple.com>,Craig Topper <craig.top...@sifive.com>,Craig Topper <craig.top...@sifive.com>,Alexey Bataev <a.bat...@outlook.com>,Artem Belevich <t...@google.com>,Craig Topper <craig.top...@sifive.com>,Nico Weber <tha...@chromium.org>,Yingwei Zheng <dtcxzyw2...@gmail.com>,Yingwei Zheng <dtcxzyw2...@gmail.com>,Brad Smith <b...@comstyle.com>,stephenpeckham <118857872+stephenpeck...@users.noreply.github.com>,Fangrui Song <i...@maskray.me>,Craig Topper <craig.top...@sifive.com>,Craig Topper <craig.top...@sifive.com>,quanwanandy <150498259+quanwana...@users.noreply.github.com>,Alexey Bataev <a.bat...@outlook.com>,Mircea Trofin <mtro...@google.com>,Vladislav Khmelevsky <oc...@yandex.ru>,Rainer Orth <r...@gcc.gnu.org>,Tim Harvey <146767459+timatgoo...@users.noreply.github.com>,Peiming Liu <36770114+peiming...@users.noreply.github.com>,Bjorn Pettersson <bjorn.a.petters...@ericsson.com>,Philip Reames <prea...@rivosinc.com>,Augusto Noronha <augusto2...@me.com>,Fangrui Song <i...@maskray.me>,Aart Bik <39774503+aart...@users.noreply.github.com>,Aart Bik <39774503+aart...@users.noreply.github.com>,Teresa Johnson <tejohn...@google.com>,Jake Egan <5326451+jakee...@users.noreply.github.com>,Youngsuk Kim <joseph942...@gmail.com>,Jason Molenda <jmole...@apple.com>,Florian Hahn <f...@fhahn.com>,Amara Emerson <am...@apple.com>,Owen Pan <owenpi...@gmail.com>,Craig Topper <craig.top...@sifive.com>,Michael Maitland <michaeltmaitl...@gmail.com>,Owen Pan <owenpi...@gmail.com>,philnik777 <nikolasklau...@berlin.de>,David Benjamin <david...@google.com>,Michael Maitland <michaeltmaitl...@gmail.com>,Michael Maitland <michaeltmaitl...@gmail.com>,Benjamin Kramer <benny....@googlemail.com>,PiJoules <6019989+pijou...@users.noreply.github.com>,Fangrui Song <i...@maskray.me>,Amara Emerson <am...@apple.com>,Cyndy Ishida <cyndy_ish...@apple.com>,Ben Shi <2283975...@qq.com>,Ben Shi <2283975...@qq.com>,Michael Kenzel <15786918+michael-ken...@users.noreply.github.com>,"Yueh-Ting (eop) Chen" <yueh.ting.c...@gmail.com>,Matthias Springer <m...@m-sp.org>,Matthias Springer <m...@m-sp.org>,jyu2-git <jennifer...@intel.com>,LiaoChunyu <chu...@iscas.ac.cn>,Jordan Rupprecht <ruppre...@google.com>,Matthias Springer <m...@m-sp.org>,Jakub Kuderski <ja...@nod-labs.com>,Jinyang He <hejiny...@loongson.cn>,Uday Bondhugula <u...@polymagelabs.com>,Craig Topper <craig.top...@sifive.com>,Aart Bik <39774503+aart...@users.noreply.github.com>,Christudasan Devadasan <christudasan.devada...@amd.com>,Timm Baeder <tbae...@redhat.com>,Timm Baeder <tbae...@redhat.com>,Fangrui Song <i...@maskray.me>,Vladislav Khmelevsky <oc...@yandex.ru>,wenzhi-cui <40185576+wenzhi-...@users.noreply.github.com>,Aart Bik <39774503+aart...@users.noreply.github.com>,Craig Topper <craig.top...@sifive.com>,ZhaoQi <zhaoq...@loongson.cn>,Yingwei Zheng <dtcxzyw2...@gmail.com>,Timm Baeder <tbae...@redhat.com>,Jianjian Guan <jacquesg...@me.com>,Rik Huijzer <git...@huijzer.xyz>,JohnLee1243 <135311387+johnlee1...@users.noreply.github.com>,Fangrui Song <i...@maskray.me>,Craig Topper <craig.top...@sifive.com>,Craig Topper <craig.top...@sifive.com>,Fangrui Song <i...@maskray.me>,Jakub Kuderski <ja...@nod-labs.com>,Chuanqi Xu <yedeng...@linux.alibaba.com>,Jessica Del <50999226+outofca...@users.noreply.github.com>,Timm Baeder <tbae...@redhat.com>,schenker <thomas.schen...@protonmail.com>,Fangrui Song <i...@maskray.me>,Mark de Wever <ko...@xs4all.nl>,Mark de Wever <ko...@xs4all.nl>,Mark de Wever <ko...@xs4all.nl>,David Spickett <david.spick...@linaro.org>,Yingwei Zheng <dtcxzyw2...@gmail.com>,Krystian Stasiowski <sdkryst...@gmail.com>,Valery Pykhtin <valery.pykh...@gmail.com>,Youngsuk Kim <joseph942...@gmail.com>,Matt Devereau <matthew.dever...@arm.com>,Will Hawkins <hawki...@obs.cr>,Igor Kirillov <igor.kiril...@arm.com>,Billy Laws <blaw...@gmail.com>,Billy Laws <blaw...@gmail.com>,Simon Pilgrim <llvm-...@redking.me.uk>,Momchil Velikov <momchil.veli...@arm.com>,Florian Hahn <f...@fhahn.com>,Paulo Matos <pma...@igalia.com>,Florian Hahn <f...@fhahn.com>,Jay Foad <jay.f...@amd.com>,Mark de Wever <ko...@xs4all.nl>,Kiran Chandramohan <kiran.chandramo...@arm.com>,Guray Ozen <guray.o...@gmail.com>,Guray Ozen <guray.o...@gmail.com>,"Yaxun (Sam) Liu" <yaxun....@amd.com>,lntue <35648136+ln...@users.noreply.github.com>,Timm Baeder <tbae...@redhat.com>,Sam Tebbs <samuel.te...@arm.com>,Jake Egan <5326451+jakee...@users.noreply.github.com>,Piyou Chen <piyou.c...@sifive.com>,Alexey Bataev <a.bat...@outlook.com>,Alex Bradbury <a...@igalia.com>,Alex Bradbury <a...@igalia.com>,LLVM GN Syncbot <llvmgnsync...@gmail.com>,Alexey Bataev <a.bat...@outlook.com>,Youngsuk Kim <youngsuk....@hpe.com>,Lucas Duarte Prates <lucas.pra...@arm.com>,Alexey Bataev <a.bat...@outlook.com>,Valery Pykhtin <valery.pykh...@gmail.com>,Michael Buch <michaelbuc...@gmail.com>,Alexey Bataev <a.bat...@outlook.com>,Fabian Mora <fmora....@gmail.com>,Juergen Ributzka <juer...@ributzka.de>,Antonio Frighetto <m...@antoniofrighetto.com>, =?utf-8?q?Balázs_Kéri?= <balazs.k...@ericsson.com>,Momchil Velikov <momchil.veli...@arm.com>,Logikable <seanluc...@google.com>,Craig Topper <craig.top...@sifive.com>,Eric <e...@efcs.ca>,Aiden Grossman <agrossman...@yahoo.com>,Aiden Grossman <agrossman...@yahoo.com>,Aiden Grossman <agrossman...@yahoo.com>,Matthias Braun <ma...@braunis.de>,Tarun Prabhu <ta...@lanl.gov>,Kazu Hirata <k...@google.com>,Craig Topper <craig.top...@sifive.com>,Craig Topper <craig.top...@sifive.com>,Billy Zhu <zyx.bi...@gmail.com>,Matthias Braun <ma...@braunis.de>,Maksim Levental <maksim.leven...@gmail.com>,androm3da <bc...@quicinc.com>,Craig Topper <craig.top...@sifive.com>,Louis Dionne <ldionn...@gmail.com>,Alex Langford <alangf...@apple.com>,Florian Hahn <f...@fhahn.com>,Aiden Grossman <agrossman...@yahoo.com>,PiJoules <6019989+pijou...@users.noreply.github.com> =?utf-8?q?,?=Florian Hahn <f...@fhahn.com>,Peiming Liu <36770114+peiming...@users.noreply.github.com>,Philip Reames <prea...@rivosinc.com>,David Li <57157229+david...@users.noreply.github.com>,Fangrui Song <i...@maskray.me>,serge-sans-paille <sguel...@mozilla.com>,Jason Molenda <jmole...@apple.com>,Aiden Grossman <agrossman...@yahoo.com>,Jonathan Thackray <jthack...@users.noreply.github.com>,Philip Reames <prea...@rivosinc.com>,Augusto Noronha <augusto2...@me.com>,Peiming Liu <36770114+peiming...@users.noreply.github.com>,Philip Reames <prea...@rivosinc.com>,Mark de Wever <ko...@xs4all.nl>,Owen Pan <owenpi...@gmail.com>,Davide Italiano <d...@users.noreply.github.com>,Shraiysh <shraiysh.vais...@amd.com>,Brad Smith <b...@comstyle.com>,Alexey Bataev <a.bat...@outlook.com>,Lang Hames <lha...@gmail.com>,Lang Hames <lha...@gmail.com>,Lang Hames <lha...@gmail.com>,Usama Hameed <u_ham...@apple.com>,Yinying Li <107574043+yinying-lisa...@users.noreply.github.com>,Alexey Bataev <a.bat...@outlook.com>,Jakub Kuderski <ja...@nod-labs.com>, Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,Lang Hames <lha...@gmail.com>,Aart Bik <39774503+aart...@users.noreply.github.com>,Shraiysh <shraiysh.vais...@amd.com>,Alexey Bataev <a.bat...@outlook.com>,Tacet <4922191+advenamta...@users.noreply.github.com>,Tacet <4922191+advenamta...@users.noreply.github.com>,Louis Dionne <ldionn...@gmail.com>,Fangrui Song <i...@maskray.me>,Matthias Braun <ma...@braunis.de>,Yingwei Zheng <dtcxzyw2...@gmail.com>, Timm =?utf-8?q?Bäder?= <tbae...@redhat.com>,Timm Baeder <tbae...@redhat.com>,Timm Baeder <tbae...@redhat.com>,Maksim Panchenko <m...@fb.com>,Aiden Grossman <agrossman...@yahoo.com>,Fangrui Song <i...@maskray.me>,Nikita Popov <npo...@redhat.com>, kadir =?utf-8?q?çetinkaya?= <kadir...@google.com>,Fangrui Song <i...@maskray.me>,Marius Brehler <marius.breh...@iml.fraunhofer.de>,Nikita Popov <npo...@redhat.com>,Adrian Kuegel <akue...@google.com>,Florian Hahn <f...@fhahn.com>,Simon Pilgrim <llvm-...@redking.me.uk>,jeanPerier <jper...@nvidia.com>,Simon Pilgrim <llvm-...@redking.me.uk>,Simon Pilgrim <llvm-...@redking.me.uk>,Kadir Cetinkaya <kadir...@google.com>,Matheus Izvekov <mizve...@gmail.com>,Jacek Caban <ja...@codeweavers.com>,Egor Zhdan <e_zh...@apple.com>,Yingwei Zheng <dtcxzyw2...@gmail.com>,Eric <e...@efcs.ca> =?utf-8?q?,?=Florian Hahn <f...@fhahn.com>,Stephen Tozer <stephen.to...@sony.com>,Cullen Rhodes <cullen.rho...@arm.com>,Jessica Del <50999226+outofca...@users.noreply.github.com>,Joseph Huber <hube...@outlook.com>,Erich Keane <eke...@nvidia.com>,Simon Pilgrim <llvm-...@redking.me.uk>,Danila Malyutin <danil...@users.noreply.github.com>,Cyndy Ishida <cyndy_ish...@apple.com>,Philip Reames <prea...@rivosinc.com>,Timm Baeder <tbae...@redhat.com>,santhoshe447 <150406203+santhoshe...@users.noreply.github.com>,Nemanja Ivanovic <nemanja.i....@gmail.com>,Nemanja Ivanovic <nemanja.i....@gmail.com>,erichkeane <eke...@nvidia.com>,Youngsuk Kim <youngsuk....@hpe.com>,Jonas Devlieghere <jo...@devlieghere.com>,Alexey Bataev <a.bat...@outlook.com>,Nikita Popov <npo...@redhat.com>,Utkarsh Saxena <u...@google.com>,Simon Pilgrim <llvm-...@redking.me.uk>,Sacha Coppey <sacha.cop...@oracle.com>,Antonio Frighetto <m...@antoniofrighetto.com>,LLVM GN Syncbot <llvmgnsync...@gmail.com> =?utf-8?q?,?=LLVM GN Syncbot <llvmgnsync...@gmail.com>,Krzysztof Parzyszek <krzysztof.parzys...@amd.com>,cor3ntin <corentinja...@gmail.com>,Steven Wu <steve...@apple.com>,Mike Rice <michael.p.r...@intel.com>,Thurston Dang <thurston.d...@gmail.com>,Stanislav Mekhanoshin <rampi...@users.noreply.github.com>,Aart Bik <39774503+aart...@users.noreply.github.com>,Stephen Tozer <stephen.to...@sony.com>,Jon Roelofs <jonathan_roel...@apple.com>,Simon Pilgrim <llvm-...@redking.me.uk>,peterbell10 <peterbel...@live.co.uk>,GeorgeHuyubo <113479859+georgehuy...@users.noreply.github.com>,Stephen Tozer <stephen.to...@sony.com>,Nick Desaulniers <nickdesaulni...@users.noreply.github.com>,Brad Smith <b...@comstyle.com>,Peiming Liu <36770114+peiming...@users.noreply.github.com>,Valery Dmitriev <valery.n.dmitr...@intel.com>,Jon Roelofs <jonathan_roel...@apple.com>,Jonas Devlieghere <jo...@devlieghere.com>,Greg Clayton <gclay...@fb.com>,Youngsuk Kim <youngsuk....@hpe.com>,Jon Roelofs <jonathan_roel...@apple.com>,Yinying Li <107574043+yinying-lisa...@users.noreply.github.com>,Erich Keane <eke...@nvidia.com>,Valentin Clement <clement...@gmail.com>,Vitaly Buka <vitalyb...@google.com>,erichkeane <eke...@nvidia.com>,Vitaly Buka <vitalyb...@google.com>,Louis Dionne <ldionn...@gmail.com>,michaelrj-google <71531609+michaelrj-goo...@users.noreply.github.com>,Yingwei Zheng <dtcxzyw2...@gmail.com>,Rahman Lavaee <rahm...@google.com>,Philip Reames <prea...@rivosinc.com>,Cyndy Ishida <cyndy_ish...@apple.com>,Vitaly Buka <vitalyb...@google.com>,Jorge Gorbe Moya <jgo...@google.com>,Brad Smith <b...@comstyle.com>,Arthur Eubanks <aeuba...@google.com>,Florian Hahn <f...@fhahn.com> Message-ID: In-Reply-To: <llvm.org/llvm/llvm-project/pull/72...@github.com>
================ @@ -404,6 +405,49 @@ Value *VPInstruction::generateInstruction(VPTransformState &State, Builder.GetInsertBlock()->getTerminator()->eraseFromParent(); return CondBr; } + case VPInstruction::CreateVectorPtr: { + // Calculate the pointer for the specific unroll-part. + Value *PartPtr = nullptr; + bool IsReverse = getNumOperands() > 1; + auto *MemR = cast<VPWidenMemoryInstructionRecipe>(*user_begin()); + Type *ScalarDataTy = + MemR->isStore() ? cast<StoreInst>(&MemR->getIngredient()) + ->getValueOperand() + ->getType() + : cast<LoadInst>(&MemR->getIngredient())->getType(); + // Use i32 for the gep index type when the value is constant, + // or query DataLayout for a more suitable index type otherwise. + const DataLayout &DL = + Builder.GetInsertBlock()->getModule()->getDataLayout(); + Type *IndexTy = State.VF.isScalable() && (IsReverse || Part > 0) + ? DL.getIndexType(ScalarDataTy->getPointerTo()) + : Builder.getInt32Ty(); + Value *Ptr = State.get(getOperand(0), VPIteration(0, 0)); + bool InBounds = false; + if (auto *gep = dyn_cast<GetElementPtrInst>(Ptr->stripPointerCasts())) ---------------- fhahn wrote: Updated, thanks! https://github.com/llvm/llvm-project/pull/72164 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits