[all-commits] [llvm/llvm-project] a15912: [flang] Upstream lowering of real control loops

Diana via All-commits all-commits at lists.llvm.org
Wed Jun 1 01:01:12 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a159128811ae1d0a781dbc8590fa1e0f26642f82
      https://github.com/llvm/llvm-project/commit/a159128811ae1d0a781dbc8590fa1e0f26642f82
  Author: Diana Picus <diana.picus at linaro.org>
  Date:   2022-06-01 (Wed, 01 Jun 2022)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    M flang/test/Lower/do_loop.f90

  Log Message:
  -----------
  [flang] Upstream lowering of real control loops

Upstream the code for handling loops with real control variables from
the fir-dev branch at
https://github.com/flang-compiler/f18-llvm-project/tree/fir-dev/

Also add a test.

Loops with real-valued control variables are always lowered to
unstructured loops. The real-valued control variables are handled the
same as integer ones, the only difference is that they need to use
floating point instructions instead of the integer equivalents.

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




More information about the All-commits mailing list