[PATCH] D133672: [GlobalISel] Fix crash when lowering G_SELECT of pointer vectors.
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 12 04:54:36 PDT 2022
arsenm accepted this revision.
arsenm added inline comments.
This revision is now accepted and ready to land.
================
Comment at: llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp:7235
+ bool IsEltPtr = DstTy.getElementType().isPointer();
+ LLT ScalarPtrTy = LLT::scalar(DstTy.getScalarSizeInBits());
+ if (IsEltPtr) {
----------------
Can sink this into the if
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133672/new/
https://reviews.llvm.org/D133672
More information about the llvm-commits
mailing list