[PATCH] D86317: IRBuilder: add CreateIntrinsicByType method
    Nicolai Hähnle via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Aug 20 13:43:10 PDT 2020
    
    
  
nhaehnle created this revision.
nhaehnle added reviewers: arsenm, Flakebi.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
nhaehnle requested review of this revision.
Herald added a subscriber: wdng.
Allow creating an intrinsic call whose overload types are automatically
deduced based on the given return type and argument types.
The main point of this is to allow external users to create intrinsic
calls while maintaining compatibility if the set of overloaded arguments
changes.
Change-Id: I0f87caacab7c45bcb58774593eeebcd89751851e
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D86317
Files:
  llvm/include/llvm/IR/IRBuilder.h
  llvm/include/llvm/IR/Intrinsics.h
  llvm/lib/IR/Function.cpp
  llvm/lib/IR/IRBuilder.cpp
  llvm/lib/IR/Verifier.cpp
  llvm/unittests/IR/IRBuilderTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86317.286897.patch
Type: text/x-patch
Size: 11823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200820/0360ed81/attachment.bin>
    
    
More information about the llvm-commits
mailing list