Same as other CreateLoad-style functions, these need a type argument to support opaque pointers.
Given the minimal use of these APIs, I'm not going through the deprecation dance here.
Paths
| Differential D105395
[IRBuilder] Add type argument to CreateMaskedLoad/Gather ClosedPublic Authored by nikic on Jul 3 2021, 6:17 AM. Tokens "Hungry Hippo" token, awarded by post.kadirselcuk.
Details
Summary Same as other CreateLoad-style functions, these need a type argument to support opaque pointers. Given the minimal use of these APIs, I'm not going through the deprecation dance here.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptJul 3 2021, 6:17 AM Herald added subscribers: llvm-commits, cfe-commits, stephenneuendorffer, nicolasvasilache. · View Herald Transcript
• post.kadirselcuk added a child revision: D105396: [RISCV] Remove Zvamo implication for v1.0-rc change. This revision is now accepted and ready to land.Jul 3 2021, 7:41 AM This revision was landed with ongoing or failed builds.Jul 4 2021, 3:19 AM Closed by commit rGfabc17192ec1: [IRBuilder] Add type argument to CreateMaskedLoad/Gather (authored by nikic). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions Might use some testing? (guess there was previously missing testing, or this API change would've broken those tests) • post.kadirselcuk added child revisions: D105762: [X86] Teach X86FloatingPoint's handleCall to only erase the FP stack if there is a regmask operand that clobbers the FP stack., D34362: [LNT] Support for different DataSet usage in Polybench for "lnt runtest nt".Jul 10 2021, 9:23 PM • post.kadirselcuk awarded a token. efriedma removed a child revision: D34362: [LNT] Support for different DataSet usage in Polybench for "lnt runtest nt".Jul 17 2021, 3:02 PM
Revision Contents
Diff 356372 clang/lib/CodeGen/CGBuiltin.cpp
llvm/include/llvm/IR/IRBuilder.h
llvm/lib/IR/AutoUpgrade.cpp
llvm/lib/IR/IRBuilder.cpp
llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp
llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
|
Would be great if someone familiar with MLIR could look into removing the getPointerElementType() calls in this file.