[all-commits] [llvm/llvm-project] 860a40: [flang][NFC] move loadIfRef to FIRBuilder (#84306)

Tom Eccles via All-commits all-commits at lists.llvm.org
Fri Mar 8 02:34:04 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 860a40057da2fbb626fdf17feec18070d95b687b
      https://github.com/llvm/llvm-project/commit/860a40057da2fbb626fdf17feec18070d95b687b
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2024-03-08 (Fri, 08 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 (#84306)

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.



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