[all-commits] [llvm/llvm-project] 84afb5: [flang] Stop using Operation::getAttrs (NFC) (#223...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Sep 24 01:54:40 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 84afb5ad1ffd52e62889b3a86d9754b1e15f6ba6
      https://github.com/llvm/llvm-project/commit/84afb5ad1ffd52e62889b3a86d9754b1e15f6ba6
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/lib/Optimizer/CodeGen/CodeGenOpenMP.cpp
    M flang/lib/Optimizer/Dialect/CUF/CUFOps.cpp
    M flang/lib/Optimizer/Dialect/FIROps.cpp
    M flang/lib/Optimizer/HLFIR/Transforms/ConvertToFIR.cpp
    M flang/lib/Optimizer/Transforms/ConstantArgumentGlobalisation.cpp
    M flang/lib/Optimizer/Transforms/FIRToSCF.cpp
    M flang/test/Fir/CUDA/cuda-alloc-free.fir
    M flang/test/Fir/CUDA/cuda-allocate.fir
    M flang/test/Fir/CUDA/cuda-constructor-2.f90
    M flang/test/Fir/CUDA/cuda-data-transfer.fir
    M flang/test/Fir/CUDA/cuda-device-global-internal-linkage.fir
    M flang/test/Fir/CUDA/cuda-device-global.f90
    M flang/test/Fir/CUDA/cuda-heap-alloc-managed.fir
    M flang/test/Fir/CUDA/cuda-heap-alloc-unified.fir
    M flang/test/Fir/CUDA/cuda-launch.fir
    M flang/test/Fir/CUDA/cuda-shared-offset.mlir
    M flang/test/Fir/FirToSCF/if.fir
    M flang/test/Fir/FirToSCF/iter-while.fir
    M flang/test/Fir/MIF/change_team2.mlir
    M flang/test/Fir/OpenACC/recipe-bufferization.mlir
    M flang/test/Fir/OpenACC/use-device-canonicalizer.mlir
    M flang/test/Fir/abstract-results.fir
    M flang/test/Fir/allocation-policy-pipeline.fir
    M flang/test/Fir/array-coor-canonicalization.fir
    M flang/test/Fir/convert-to-llvm-access-group.fir
    M flang/test/Fir/do_concurrent.fir
    M flang/test/Fir/fir-ops.fir
    M flang/test/Fir/global-attributes.fir
    M flang/test/Fir/memory-allocation-opt-2.fir
    M flang/test/Fir/memory-allocation-opt-do-concurrent.fir
    M flang/test/Fir/memory-allocation-opt.fir
    M flang/test/Fir/simd-nontemporal.fir
    M flang/test/HLFIR/as_expr-codegen.fir
    M flang/test/HLFIR/associate-codegen.fir
    M flang/test/HLFIR/bufferize-poly-expr.fir
    M flang/test/HLFIR/bufferize-workshare.fir
    M flang/test/HLFIR/bufferize01.fir
    M flang/test/HLFIR/char_extremum-bufferization.fir
    M flang/test/HLFIR/cmpchar-lowering.fir
    M flang/test/HLFIR/concat-bufferization.fir
    M flang/test/HLFIR/element-codegen-issue-118922.fir
    M flang/test/HLFIR/elemental-codegen-nested.fir
    M flang/test/HLFIR/elemental-codegen.fir
    M flang/test/HLFIR/elemental-shallow-copy.fir
    M flang/test/HLFIR/elemental-with-empty-check-codegen.fir
    M flang/test/HLFIR/eval_in_mem-codegen.fir
    M flang/test/HLFIR/expression-simplification.fir
    M flang/test/HLFIR/index-lowering.fir
    M flang/test/HLFIR/inline-hlfir-assign-pointer-overlap.fir
    M flang/test/HLFIR/inline-hlfir-assign-scalar-index.fir
    M flang/test/HLFIR/inline-hlfir-assign-self-copy-runtime-stride.fir
    M flang/test/HLFIR/inline-hlfir-assign.fir
    M flang/test/HLFIR/inline-hlfir-copy-stack.fir
    M flang/test/HLFIR/inline-hlfir-copy.fir
    M flang/test/HLFIR/opt-bufferization-eval_in_mem-with-associate.fir
    M flang/test/HLFIR/opt-bufferization.fir
    M flang/test/HLFIR/opt-scalar-assign.fir
    M flang/test/HLFIR/order_assignments/array-temp-many-forall.f90
    M flang/test/HLFIR/order_assignments/array-temp.fir
    M flang/test/HLFIR/order_assignments/forall-codegen-no-conflict.fir
    M flang/test/HLFIR/order_assignments/inlined-stack-temp.fir
    M flang/test/HLFIR/order_assignments/saving-mask-and-rhs.fir
    M flang/test/HLFIR/order_assignments/user-defined-assignment-finalization.fir
    M flang/test/HLFIR/order_assignments/user-defined-assignment.fir
    M flang/test/HLFIR/set_length-codegen.fir
    M flang/test/HLFIR/simplify-hlfir-intrinsics-cmpchar-scalar.fir
    M flang/test/HLFIR/simplify-hlfir-intrinsics-eoshift.fir
    M flang/test/HLFIR/simplify-hlfir-intrinsics-index.fir
    M flang/test/HLFIR/trim.fir
    M flang/test/HLFIR/volatile.fir
    M flang/test/HLFIR/volatile1.fir
    M flang/test/HLFIR/volatile2.fir
    M flang/test/HLFIR/volatile3.fir
    M flang/test/HLFIR/volatile4.fir
    M flang/test/Integration/allocatable-polymorphic.f90
    M flang/test/Integration/dense-array-any-rank.f90
    M flang/test/Lower/CUDA/cuda-allocatable.cuf
    M flang/test/Lower/CUDA/cuda-cooperative.cuf
    M flang/test/Lower/CUDA/cuda-data-attribute.cuf
    M flang/test/Lower/CUDA/cuda-data-transfer.cuf
    M flang/test/Lower/CUDA/cuda-doconc.cuf
    M flang/test/Lower/CUDA/cuda-gpu-managed.cuf
    M flang/test/Lower/CUDA/cuda-gpu-unified.cuf
    M flang/test/Lower/CUDA/cuda-kernel-alloca-block.cuf
    M flang/test/Lower/CUDA/cuda-managed-func-result.cuf
    M flang/test/Lower/CUDA/cuda-mod.cuf
    M flang/test/Lower/CUDA/cuda-module-use.cuf
    M flang/test/Lower/CUDA/cuda-pointer-sync.cuf
    M flang/test/Lower/CUDA/cuda-program-global.cuf
    M flang/test/Lower/HLFIR/actual_target_for_dummy_pointer.f90
    M flang/test/Lower/HLFIR/allocatable-and-pointer-status-change.f90
    M flang/test/Lower/HLFIR/allocatable-return.f90
    M flang/test/Lower/HLFIR/array-ctor-as-elemental-nested.f90
    M flang/test/Lower/HLFIR/array-ctor-as-inlined-temp.f90
    M flang/test/Lower/HLFIR/array-ctor-as-runtime-temp.f90
    M flang/test/Lower/HLFIR/array-ctor-character.f90
    M flang/test/Lower/HLFIR/array-ctor-derived.f90
    M flang/test/Lower/HLFIR/array-ctor-index.f90
    M flang/test/Lower/HLFIR/bindc-entry-stmt.f90
    M flang/test/Lower/HLFIR/calls-array-results.f90
    M flang/test/Lower/HLFIR/calls-f77.f90
    M flang/test/Lower/HLFIR/charconvert.f90
    M flang/test/Lower/HLFIR/convert-mbox-to-value.f90
    M flang/test/Lower/HLFIR/convert-variable-block.f90
    M flang/test/Lower/HLFIR/cray-pointers.f90
    M flang/test/Lower/HLFIR/custom-intrinsic.f90
    M flang/test/Lower/HLFIR/dummy-scope.f90
    M flang/test/Lower/HLFIR/elemental-array-ops.f90
    M flang/test/Lower/HLFIR/elemental-call-vector-subscripts.f90
    M flang/test/Lower/HLFIR/elemental-result-length.f90
    M flang/test/Lower/HLFIR/elemental-user-procedure-ref-polymorphic.f90
    M flang/test/Lower/HLFIR/entry_return.f90
    M flang/test/Lower/HLFIR/function-return-as-expr.f90
    M flang/test/Lower/HLFIR/goto-do-body.f90
    M flang/test/Lower/HLFIR/ignore-rank-unlimited-polymorphic.f90
    M flang/test/Lower/HLFIR/index.f90
    M flang/test/Lower/HLFIR/intrinsic-dynamically-optional.f90
    M flang/test/Lower/HLFIR/intrinsic-subroutines.f90
    M flang/test/Lower/HLFIR/matmul.f90
    M flang/test/Lower/HLFIR/maxloc.f90
    M flang/test/Lower/HLFIR/maxval.f90
    M flang/test/Lower/HLFIR/minloc.f90
    M flang/test/Lower/HLFIR/minval.f90
    M flang/test/Lower/HLFIR/null.f90
    M flang/test/Lower/HLFIR/proc-pointer-comp-nopass.f90
    M flang/test/Lower/HLFIR/proc-pointer-comp-pass.f90
    M flang/test/Lower/HLFIR/procedure-designators.f90
    M flang/test/Lower/HLFIR/procedure-pointer-component-structure-constructor.f90
    M flang/test/Lower/HLFIR/procedure-pointer-in-generics.f90
    M flang/test/Lower/HLFIR/procedure-pointer.f90
    M flang/test/Lower/HLFIR/product.f90
    M flang/test/Lower/HLFIR/select-type-selector.f90
    M flang/test/Lower/HLFIR/structure-constructor.f90
    M flang/test/Lower/HLFIR/sum.f90
    M flang/test/Lower/HLFIR/tdesc-character-comp-init.f90
    M flang/test/Lower/HLFIR/transpose.f90
    M flang/test/Lower/HLFIR/trim.f90
    M flang/test/Lower/HLFIR/user-defined-assignment.f90
    M flang/test/Lower/HLFIR/vector-subscript-as-value.f90
    M flang/test/Lower/HLFIR/visible-cray-pointer-target.f90
    M flang/test/Lower/HLFIR/where.f90
    M flang/test/Lower/Intrinsics/associated-proc-pointers.f90
    M flang/test/Lower/Intrinsics/associated.f90
    M flang/test/Lower/Intrinsics/bessel_yn.f90
    M flang/test/Lower/Intrinsics/btest.f90
    M flang/test/Lower/Intrinsics/c_associated.f90
    M flang/test/Lower/Intrinsics/c_devptr_eq_ne.f90
    M flang/test/Lower/Intrinsics/c_funloc.f90
    M flang/test/Lower/Intrinsics/c_loc.f90
    M flang/test/Lower/Intrinsics/c_ptr_eq_ne.f90
    M flang/test/Lower/Intrinsics/chdir.f90
    M flang/test/Lower/Intrinsics/free.f90
    M flang/test/Lower/Intrinsics/get_command.f90
    M flang/test/Lower/Intrinsics/getcwd-function.f90
    M flang/test/Lower/Intrinsics/getpid.f90
    M flang/test/Lower/Intrinsics/hostnm-func.f90
    M flang/test/Lower/Intrinsics/ibset.f90
    M flang/test/Lower/Intrinsics/ichar.f90
    M flang/test/Lower/Intrinsics/ieee_class.f90
    M flang/test/Lower/Intrinsics/ieee_compare.f90
    M flang/test/Lower/Intrinsics/ieee_flag.f90
    M flang/test/Lower/Intrinsics/ieee_logb.f90
    M flang/test/Lower/Intrinsics/ieee_max_min.f90
    M flang/test/Lower/Intrinsics/ieee_real.f90
    M flang/test/Lower/Intrinsics/ieee_rem.f90
    M flang/test/Lower/Intrinsics/ieee_rint_int.f90
    M flang/test/Lower/Intrinsics/ieee_rounding.f90
    M flang/test/Lower/Intrinsics/ieee_signbit.f90
    M flang/test/Lower/Intrinsics/ieee_unordered.f90
    M flang/test/Lower/Intrinsics/ierrno.f90
    M flang/test/Lower/Intrinsics/malloc.f90
    M flang/test/Lower/Intrinsics/min.f90
    M flang/test/Lower/Intrinsics/nearest.f90
    M flang/test/Lower/Intrinsics/not.f90
    M flang/test/Lower/Intrinsics/perror.f90
    M flang/test/Lower/Intrinsics/putenv-func.f90
    M flang/test/Lower/Intrinsics/rand.f90
    M flang/test/Lower/Intrinsics/real.f90
    M flang/test/Lower/Intrinsics/reduce.f90
    M flang/test/Lower/Intrinsics/rename.f90
    M flang/test/Lower/Intrinsics/selected_char_kind.f90
    M flang/test/Lower/Intrinsics/selected_logical_kind.f90
    M flang/test/Lower/Intrinsics/show_descriptor.f90
    M flang/test/Lower/Intrinsics/size.f90
    M flang/test/Lower/Intrinsics/system_clock.f90
    M flang/test/Lower/Intrinsics/time.f90
    M flang/test/Lower/Intrinsics/unlink-func.f90
    M flang/test/Lower/Intrinsics/verify.f90
    M flang/test/Lower/MIF/coarray_allocation2.f90
    M flang/test/Lower/OpenACC/acc-atomic-capture.f90
    M flang/test/Lower/OpenACC/acc-atomic-read.f90
    M flang/test/Lower/OpenACC/acc-atomic-update-hlfir.f90
    M flang/test/Lower/OpenACC/acc-atomic-update.f90
    M flang/test/Lower/OpenACC/acc-atomic-write.f90
    M flang/test/Lower/OpenACC/acc-bounds.f90
    M flang/test/Lower/OpenACC/acc-data-operands-remapping.f90
    M flang/test/Lower/OpenACC/acc-data-operands.f90
    M flang/test/Lower/OpenACC/acc-data.f90
    M flang/test/Lower/OpenACC/acc-declare-common-present-in-function.f90
    M flang/test/Lower/OpenACC/acc-declare-globals.f90
    M flang/test/Lower/OpenACC/acc-declare-use-associated.f90
    M flang/test/Lower/OpenACC/acc-declare.f90
    M flang/test/Lower/OpenACC/acc-enter-data.f90
    M flang/test/Lower/OpenACC/acc-exit-data.f90
    M flang/test/Lower/OpenACC/acc-firstprivate-derived-allocatable-component.f90
    M flang/test/Lower/OpenACC/acc-firstprivate-derived-user-assign.f90
    M flang/test/Lower/OpenACC/acc-firstprivate-derived.f90
    M flang/test/Lower/OpenACC/acc-host-data.f90
    M flang/test/Lower/OpenACC/acc-kernels-loop.f90
    M flang/test/Lower/OpenACC/acc-kernels.f90
    M flang/test/Lower/OpenACC/acc-loop.f90
    M flang/test/Lower/OpenACC/acc-parallel-loop.f90
    M flang/test/Lower/OpenACC/acc-parallel.f90
    M flang/test/Lower/OpenACC/acc-private.f90
    M flang/test/Lower/OpenACC/acc-reduction.f90
    M flang/test/Lower/OpenACC/acc-serial-loop.f90
    M flang/test/Lower/OpenACC/acc-serial.f90
    M flang/test/Lower/OpenACC/acc-set.f90
    M flang/test/Lower/OpenACC/acc-update.f90
    M flang/test/Lower/OpenACC/acc-use-device.f90
    M flang/test/Lower/OpenACC/stop-stmt-in-region.f90
    M flang/test/Lower/OpenMP/DelayedPrivatization/target-firstprivate.f90
    M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-adjustable-array.f90
    M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-implicit-scalar-map-2.f90
    M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-implicit-scalar-map.f90
    M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-multiple-variables.f90
    M flang/test/Lower/OpenMP/DelayedPrivatization/target-private-simple.f90
    M flang/test/Lower/OpenMP/allocatable-array-bounds.f90
    M flang/test/Lower/OpenMP/array-bounds.f90
    M flang/test/Lower/OpenMP/atomic-capture.f90
    M flang/test/Lower/OpenMP/atomic-compare.f90
    M flang/test/Lower/OpenMP/atomic-implicit-cast.f90
    M flang/test/Lower/OpenMP/atomic-read.f90
    M flang/test/Lower/OpenMP/atomic-update.f90
    M flang/test/Lower/OpenMP/atomic-write.f90
    M flang/test/Lower/OpenMP/block-use-predetermined-privatization.f90
    M flang/test/Lower/OpenMP/block_implicit_privatization.f90
    M flang/test/Lower/OpenMP/block_predetermined_privatization.f90
    M flang/test/Lower/OpenMP/cancel.f90
    M flang/test/Lower/OpenMP/cancellationpoint.f90
    M flang/test/Lower/OpenMP/common-atomic-lowering.f90
    M flang/test/Lower/OpenMP/common-block-map.f90
    M flang/test/Lower/OpenMP/copyin.f90
    M flang/test/Lower/OpenMP/cray-pointers01.f90
    M flang/test/Lower/OpenMP/critical.f90
    M flang/test/Lower/OpenMP/declare-target-data.f90
    M flang/test/Lower/OpenMP/declare_target_module.f90
    M flang/test/Lower/OpenMP/default-clause-byref.f90
    M flang/test/Lower/OpenMP/default-clause.f90
    M flang/test/Lower/OpenMP/delayed-privatization-private-firstprivate.f90
    M flang/test/Lower/OpenMP/delayed-privatization-private.f90
    M flang/test/Lower/OpenMP/derived-type-map.f90
    M flang/test/Lower/OpenMP/fuse01.f90
    M flang/test/Lower/OpenMP/fuse02.f90
    M flang/test/Lower/OpenMP/hlfir-seqloop-parallel.f90
    M flang/test/Lower/OpenMP/hlfir-to-fir-conv-omp.mlir
    M flang/test/Lower/OpenMP/implicit-dsa.f90
    M flang/test/Lower/OpenMP/lastprivate-allocatable.f90
    M flang/test/Lower/OpenMP/lastprivate-commonblock.f90
    M flang/test/Lower/OpenMP/lastprivate-conditional-nested-parallel.f90
    M flang/test/Lower/OpenMP/lastprivate-conditional-teams.f90
    M flang/test/Lower/OpenMP/lastprivate-iv.f90
    M flang/test/Lower/OpenMP/linear_modifier.f90
    M flang/test/Lower/OpenMP/local-intrinsic-sized-array-map.f90
    M flang/test/Lower/OpenMP/map-component-ref.f90
    M flang/test/Lower/OpenMP/masked_taskloop.f90
    M flang/test/Lower/OpenMP/metadirective-loop.f90
    M flang/test/Lower/OpenMP/omp-declarative-allocate-align.f90
    M flang/test/Lower/OpenMP/omp-declarative-allocate.f90
    M flang/test/Lower/OpenMP/omp-declare-reduction-derivedtype.f90
    M flang/test/Lower/OpenMP/omp-declare-target-program-var.f90
    M flang/test/Lower/OpenMP/optional-argument-map-2.f90
    M flang/test/Lower/OpenMP/parallel-masked-taskloop.f90
    M flang/test/Lower/OpenMP/parallel-private-clause-fixes.f90
    M flang/test/Lower/OpenMP/parallel-private-clause-str.f90
    M flang/test/Lower/OpenMP/parallel-private-clause.f90
    M flang/test/Lower/OpenMP/parallel-reduction-add-byref.f90
    M flang/test/Lower/OpenMP/parallel-reduction-add.f90
    M flang/test/Lower/OpenMP/parallel-reduction-allocatable-array.f90
    M flang/test/Lower/OpenMP/parallel-reduction-array-lb.f90
    M flang/test/Lower/OpenMP/parallel-reduction-array.f90
    M flang/test/Lower/OpenMP/parallel-reduction-byref.f90
    M flang/test/Lower/OpenMP/parallel-reduction-complex-mul.f90
    M flang/test/Lower/OpenMP/parallel-reduction-complex.f90
    M flang/test/Lower/OpenMP/parallel-reduction-pointer-array.f90
    M flang/test/Lower/OpenMP/parallel-reduction-rename.f90
    M flang/test/Lower/OpenMP/parallel-reduction.f90
    M flang/test/Lower/OpenMP/parallel-reduction3.f90
    M flang/test/Lower/OpenMP/private-derived-type.f90
    M flang/test/Lower/OpenMP/reduction-array-intrinsic.f90
    M flang/test/Lower/OpenMP/reduction-equivalence.f90
    M flang/test/Lower/OpenMP/sections-predetermined-private.f90
    M flang/test/Lower/OpenMP/sections.f90
    M flang/test/Lower/OpenMP/shared-loop.f90
    M flang/test/Lower/OpenMP/simd-linear.f90
    M flang/test/Lower/OpenMP/simd.f90
    M flang/test/Lower/OpenMP/single.f90
    M flang/test/Lower/OpenMP/stop-stmt-in-region.f90
    M flang/test/Lower/OpenMP/target-teams-private.f90
    M flang/test/Lower/OpenMP/target.f90
    M flang/test/Lower/OpenMP/task-affinity.f90
    M flang/test/Lower/OpenMP/task-depend-structure-component.f90
    M flang/test/Lower/OpenMP/task.f90
    M flang/test/Lower/OpenMP/taskgroup-task_reduction01.f90
    M flang/test/Lower/OpenMP/taskloop-cancel.f90
    M flang/test/Lower/OpenMP/taskloop-collapse.f90
    M flang/test/Lower/OpenMP/taskloop-grainsize.f90
    M flang/test/Lower/OpenMP/taskloop-inreduction.f90
    M flang/test/Lower/OpenMP/taskloop-numtasks.f90
    M flang/test/Lower/OpenMP/taskloop-reduction.f90
    M flang/test/Lower/OpenMP/taskloop.f90
    M flang/test/Lower/OpenMP/threadprivate-char-array-chararray.f90
    M flang/test/Lower/OpenMP/threadprivate-common-block-pointer.f90
    M flang/test/Lower/OpenMP/threadprivate-commonblock-use.f90
    M flang/test/Lower/OpenMP/threadprivate-commonblock.f90
    M flang/test/Lower/OpenMP/threadprivate-host-association-2.f90
    M flang/test/Lower/OpenMP/threadprivate-host-association-3.f90
    M flang/test/Lower/OpenMP/threadprivate-use-association.f90
    M flang/test/Lower/OpenMP/tile01.f90
    M flang/test/Lower/OpenMP/tile02.f90
    M flang/test/Lower/OpenMP/unroll-heuristic01.f90
    M flang/test/Lower/OpenMP/unroll-heuristic02.f90
    M flang/test/Lower/OpenMP/unroll-heuristic03.f90
    M flang/test/Lower/OpenMP/unroll-partial01.f90
    M flang/test/Lower/OpenMP/unstructured.f90
    M flang/test/Lower/OpenMP/wsloop-chunks.f90
    M flang/test/Lower/OpenMP/wsloop-collapse.f90
    M flang/test/Lower/OpenMP/wsloop-linear.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-add-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-add.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-allocatable-array-minmax.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-allocatable.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array-assumed-shape.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-array2.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-iand-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-iand.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-ieor-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-ieor.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-ior-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-ior.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-and-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-and.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-eqv.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-neqv.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-or-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-logical-or.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-max-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-max.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-min-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-min.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-mul-byref.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-mul.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-multi.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-multiple-clauses.f90
    M flang/test/Lower/OpenMP/wsloop-reduction-pointer.f90
    M flang/test/Lower/OpenMP/wsloop-variable.f90
    M flang/test/Lower/achar.f90
    M flang/test/Lower/allocatable-assignment.f90
    M flang/test/Lower/allocatable-caller.f90
    M flang/test/Lower/allocatable-return.f90
    M flang/test/Lower/allocatable-runtime.f90
    M flang/test/Lower/allocatables.f90
    M flang/test/Lower/allocate-mold.f90
    M flang/test/Lower/allocate-source-allocatables.f90
    M flang/test/Lower/allocate-source-pointers.f90
    M flang/test/Lower/alternate-return.f90
    M flang/test/Lower/always-execute-loop-body.f90
    M flang/test/Lower/arithmetic-goto.f90
    M flang/test/Lower/array-character.f90
    M flang/test/Lower/array-constructor-1.f90
    M flang/test/Lower/array-constructor-2.f90
    M flang/test/Lower/array-elemental-calls-char-dynamic.f90
    M flang/test/Lower/array-elemental-calls-char.f90
    M flang/test/Lower/array.f90
    M flang/test/Lower/assignment.f90
    M flang/test/Lower/associate-construct.f90
    M flang/test/Lower/assumed-shape-caller.f90
    M flang/test/Lower/assumed-type.f90
    M flang/test/Lower/basic-call.f90
    M flang/test/Lower/block.f90
    M flang/test/Lower/bug172157-3.f90
    M flang/test/Lower/c-interoperability-c-pointer.f90
    M flang/test/Lower/c-interoperability.f90
    M flang/test/Lower/call-implicit.f90
    M flang/test/Lower/call.f90
    M flang/test/Lower/character-elemental.f90
    M flang/test/Lower/character-local-variables.f90
    M flang/test/Lower/common-block-2.f90
    M flang/test/Lower/common-block-char0.f90
    M flang/test/Lower/common-block-multiple-init.f90
    M flang/test/Lower/complex-real.f90
    M flang/test/Lower/computed-goto.f90
    M flang/test/Lower/constant-literal-mangling.f90
    M flang/test/Lower/constant-logical-transfer.f90
    M flang/test/Lower/convert.f90
    M flang/test/Lower/cray-pointer.f90
    M flang/test/Lower/declare-with-storage.f90
    M flang/test/Lower/default-initialization-globals.f90
    M flang/test/Lower/default-initialization.f90
    M flang/test/Lower/dense-attributed-array.f90
    M flang/test/Lower/derived-type-descriptor.f90
    M flang/test/Lower/derived-type-finalization.f90
    M flang/test/Lower/derived-type-temp.f90
    M flang/test/Lower/do_concurrent.f90
    M flang/test/Lower/do_concurrent_delayed_locality.f90
    M flang/test/Lower/do_concurrent_reduce.f90
    M flang/test/Lower/do_loop.f90
    M flang/test/Lower/do_loop_unstructured.f90
    M flang/test/Lower/dummy-argument-optional-2.f90
    M flang/test/Lower/dummy-procedure-character.f90
    M flang/test/Lower/dummy-procedure.f90
    M flang/test/Lower/entry-statement.f90
    M flang/test/Lower/equivalence-1.f90
    M flang/test/Lower/equivalence-2.f90
    M flang/test/Lower/equivalence-static-init.f90
    M flang/test/Lower/explicit-interface-results.f90
    M flang/test/Lower/extrn_subp.f90
    M flang/test/Lower/forall-pointer-assignment.f90
    M flang/test/Lower/forall/degenerate.f90
    M flang/test/Lower/forall/forall-allocatable-2.f90
    M flang/test/Lower/forall/forall-allocatable.f90
    M flang/test/Lower/forall/forall-where-2.f90
    M flang/test/Lower/global-alignment.f90
    M flang/test/Lower/goto-do-body.f90
    M flang/test/Lower/host_module_variable_instantiation_use_device.f90
    M flang/test/Lower/infinite_loop.f90
    M flang/test/Lower/inline-hlfir-assign-pointer-omp.f90
    M flang/test/Lower/inline_directive.f90
    M flang/test/Lower/inlinealways-directive.f90
    M flang/test/Lower/intentout-deallocate.f90
    M flang/test/Lower/io-derived-type.f90
    M flang/test/Lower/io-implied-do-fixes.f90
    M flang/test/Lower/io-statement-1.f90
    M flang/test/Lower/io-statement-3.f90
    M flang/test/Lower/io-statement-clean-ups.f90
    M flang/test/Lower/io-write.f90
    M flang/test/Lower/ivdep.f90
    M flang/test/Lower/loops.f90
    M flang/test/Lower/mixed_loops.f90
    M flang/test/Lower/module-parameter-linkonce-odr.f90
    M flang/test/Lower/module_definition.f90
    M flang/test/Lower/module_use.f90
    M flang/test/Lower/namelist-common-block.f90
    M flang/test/Lower/namelist.f90
    M flang/test/Lower/nullify-polymorphic.f90
    M flang/test/Lower/optional-value-caller.f90
    M flang/test/Lower/pointer-assignments.f90
    M flang/test/Lower/pointer-association-polymorphic.f90
    M flang/test/Lower/pointer-default-init.f90
    M flang/test/Lower/pointer-initial-target-2.f90
    M flang/test/Lower/pointer-references.f90
    M flang/test/Lower/pointer-results-as-arguments.f90
    M flang/test/Lower/pointer-runtime.f90
    M flang/test/Lower/polymorphic-temp.f90
    M flang/test/Lower/polymorphic-types.f90
    M flang/test/Lower/polymorphic.f90
    M flang/test/Lower/select-type-2.fir
    M flang/test/Lower/select-type.f90
    M flang/test/Lower/simd-directive.f90
    M flang/test/Lower/statement-function.f90
    M flang/test/Lower/stop-statement.f90
    M flang/test/Lower/structure-constructors-alloc-comp.f90
    M flang/test/Lower/submodule.f90
    M flang/test/Lower/transformational-intrinsics.f90
    M flang/test/Lower/typeof-classof.f90
    M flang/test/Lower/unroll.f90
    M flang/test/Lower/unroll_and_jam.f90
    M flang/test/Lower/unsigned-ops.f90
    M flang/test/Lower/variable-common-viewed-as-module-var.f90
    M flang/test/Lower/variable.f90
    M flang/test/Lower/vector-always.f90
    M flang/test/Lower/vector-subscript-io.f90
    M flang/test/Lower/vectorlength.f90
    M flang/test/Lower/volatile-derived-type.f90
    M flang/test/Lower/volatile-openmp1.f90
    M flang/test/Lower/volatile-string.f90
    M flang/test/Lower/volatile1.f90
    M flang/test/Lower/volatile2.f90
    M flang/test/Lower/volatile3.f90
    M flang/test/Lower/volatile4.f90
    M flang/test/Lower/while_loop.f90
    M flang/test/Lower/zero-size.f90
    M flang/test/Transforms/CUF/cuf-kernel-licm.fir
    M flang/test/Transforms/DoConcurrent/basic_device.f90
    M flang/test/Transforms/DoConcurrent/basic_host.f90
    M flang/test/Transforms/DoConcurrent/basic_host.mlir
    M flang/test/Transforms/DoConcurrent/locality_specifiers_simple.mlir
    M flang/test/Transforms/DoConcurrent/locally_destroyed_temp.f90
    M flang/test/Transforms/DoConcurrent/multiple_iteration_ranges.f90
    M flang/test/Transforms/DoConcurrent/not_perfectly_nested.f90
    M flang/test/Transforms/DoConcurrent/reduce_add.mlir
    M flang/test/Transforms/DoConcurrent/reduce_all_regions.mlir
    M flang/test/Transforms/DoConcurrent/reduce_local.mlir
    M flang/test/Transforms/DoConcurrent/skip_all_nested_loops.f90
    M flang/test/Transforms/FIRToMemRef/slice.mlir
    M flang/test/Transforms/OpenACC/acc-implicit-declare-module-parameter.fir
    M flang/test/Transforms/OpenACC/acc-implicit-declare-type-descriptor-alloca.F90
    M flang/test/Transforms/OpenACC/acc-implicit-declare-type-descriptor-embox.F90
    M flang/test/Transforms/OpenACC/acc-implicit-declare-type-descriptor-rebox.F90
    M flang/test/Transforms/OpenACC/acc-implicit-declare-type-descriptor-type_desc.F90
    M flang/test/Transforms/OpenMP/lower-workdistribute-fission-host.mlir
    M flang/test/Transforms/OpenMP/lower-workdistribute-fission-target.mlir
    M flang/test/Transforms/OpenMP/lower-workshare-thread-local.mlir
    M flang/test/Transforms/do-concurrent-localizer-dealloc-region.fir
    M flang/test/Transforms/do-concurrent-localizer-init-region.fir
    M flang/test/Transforms/licm.fir
    M flang/test/Transforms/loop-versioning.fir
    M flang/test/Transforms/lower-repack-arrays.fir
    M flang/test/Transforms/simplifyintrinsics.fir
    M flang/test/Transforms/stack-arrays-lifetime.fir
    M flang/test/Transforms/stack-arrays.fir
    M flang/test/Transforms/tbaa-cray-pointer.fir
    M flang/test/Transforms/tbaa-derived-type-records.fir
    M flang/test/Transforms/tbaa-derived-with-descriptor.fir
    M flang/test/Transforms/tbaa-for-common-vars.fir
    M flang/test/Transforms/tbaa-for-global-equiv-vars.fir
    M flang/test/Transforms/tbaa-target-inlined-results.fir
    M flang/test/Transforms/tbaa-value-dummy-arg.fir
    M flang/test/Transforms/tbaa-with-dummy-scope.fir
    M flang/test/Transforms/tbaa-with-dummy-scope2.fir
    M flang/test/Transforms/tbaa.fir
    M flang/test/Transforms/tbaa2.fir
    M flang/test/Transforms/tbaa3.fir
    M flang/test/Transforms/tbaa4.fir

  Log Message:
  -----------
  [flang] Stop using Operation::getAttrs (NFC) (#223049)

Migrate FIR attribute copying and printing to the explicit inherent and
discardable attribute APIs.

Also upgrade the textual assembly to stop mixing inherent and
discardable attributes in the same dictionary.

This is part of a general migration to use the "new" properties-based
APIs and stop mixing discardable/inherent attributes, see #155475

Assisted-by: Codex



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