[all-commits] [llvm/llvm-project] 958ea3: [flang][NFC] move loadIfRef to FIRBuilder

Tom Eccles via All-commits all-commits at lists.llvm.org
Thu Mar 7 02:57:53 PST 2024


  Branch: refs/heads/users/tblah/omp_byref_1
  Home:   https://github.com/llvm/llvm-project
  Commit: 958ea36de41ce928a0ecf5cee076293d2ae50474
      https://github.com/llvm/llvm-project/commit/958ea36de41ce928a0ecf5cee076293d2ae50474
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/FIRBuilder.h
    M flang/lib/Lower/OpenACC.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp

  Log Message:
  -----------
  [flang][NFC] move loadIfRef to FIRBuilder

This will be useful for OpenMP too.

I changed the definition slightly to use `fir::isa_ref_type` (which also
includes llvm pointers) because I think it reads better using the common
type helpers. There shouldn't be any llvm pointers in lowering so this
isn't a functional change.

Commit series for by-ref openmp reductions: 1/3



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list