[all-commits] [llvm/llvm-project] a1918f: [flang] Lower random_[init|number|seed] intrinsics

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Tue Mar 15 14:32:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1918fdf080900333be9eae264eba7cc6608eecc
      https://github.com/llvm/llvm-project/commit/a1918fdf080900333be9eae264eba7cc6608eecc
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-03-15 (Tue, 15 Mar 2022)

  Changed paths:
    M flang/include/flang/Lower/Runtime.h
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Lower/Runtime.cpp
    A flang/test/Lower/random.f90

  Log Message:
  -----------
  [flang] Lower random_[init|number|seed] intrinsics

Thsi patch add the infrastructure to lower the random related
intrinsics:

- `random_init`
- `random_number`
- `random_seed`

This patch is part of the upstreaming effort from fir-dev branch.

Reviewed By: PeteSteinfeld, schweitz

Differential Revision: https://reviews.llvm.org/D121704

Co-authored-by: V Donaldson <vdonaldson at nvidia.com>
Co-authored-by: Jean Perier <jperier at nvidia.com>




More information about the All-commits mailing list