This patch adds the FIR builder to generate the numeric intrinsic
runtime call.
This patch is part of the upstreaming effort from fir-dev branch.
Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: mleair <leairmark@gmail.com>
Paths 
  |  Differential  D114477  
[fir] Add fir numeric intrinsic runtime call builder ClosedPublic Authored by clementval on Nov 23 2021, 2:45 PM. 
Details Summary This patch adds the FIR builder to generate the numeric intrinsic This patch is part of the upstreaming effort from fir-dev branch. Co-authored-by: Jean Perier <jperier@nvidia.com> 
Diff Detail 
 Event Timelineclementval edited parent revisions, added: D114557: [fir] Add base for runtime builder unittests; removed: D114460: [fir] Add fir reduction builder.Nov 25 2021, 5:47 AM clementval marked 2 inline comments as done. Comment ActionsAddress review comments 
 This revision is now accepted and ready to land.Dec 1 2021, 6:52 PM This revision was landed with ongoing or failed builds.Dec 2 2021, 1:22 AM Closed by commit rG529d0942daf3: [fir] Add fir numeric intrinsic runtime call builder (authored by clementval).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 391250 flang/include/flang/Optimizer/Builder/Runtime/Numeric.h
 
 flang/lib/Optimizer/Builder/CMakeLists.txt
 flang/lib/Optimizer/Builder/Runtime/Numeric.cpp
 flang/unittests/Optimizer/Builder/Runtime/NumericTest.cpp
 flang/unittests/Optimizer/CMakeLists.txt
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Nit: Some places use TODO, some use fir::emitFatalError. Should we settle on just one of them?