[all-commits] [llvm/llvm-project] fd389f: [flang] Change `uniqueCGIdent` separator from `.` ...

Fabian Mora via All-commits all-commits at lists.llvm.org
Wed Nov 8 12:04:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd389f46deb0252a7f7412ef4b0809d7dc2d7072
      https://github.com/llvm/llvm-project/commit/fd389f46deb0252a7f7412ef4b0809d7dc2d7072
  Author: Fabian Mora <fmora.dev at gmail.com>
  Date:   2023-11-08 (Wed, 08 Nov 2023)

  Changed paths:
    M flang/docs/BijectiveInternalNameUniquing.md
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/test/Driver/compiler_options.f90
    M flang/test/Fir/array-value-copy-4.fir
    M flang/test/Fir/boxproc.fir
    M flang/test/Fir/polymorphic.fir
    M flang/test/Fir/target-rewrite-integer.fir
    M flang/test/Fir/target-rewrite-selective.fir
    M flang/test/Fir/tbaa-codegen2.fir
    M flang/test/Fir/tbaa.fir
    M flang/test/HLFIR/assign-codegen.fir
    M flang/test/HLFIR/boxchar_emboxing.f90
    M flang/test/HLFIR/bufferize-destroy-for-derived.fir
    M flang/test/HLFIR/bufferize01.fir
    M flang/test/HLFIR/copy-in-out-codegen.fir
    M flang/test/HLFIR/elemental-codegen.fir
    M flang/test/HLFIR/get_length_codegen.fir
    M flang/test/Lower/HLFIR/array-ctor-as-runtime-temp.f90
    M flang/test/Lower/HLFIR/assignment-intrinsics.f90
    M flang/test/Lower/HLFIR/constant-character.f90
    M flang/test/Lower/HLFIR/convert-mbox-to-value.f90
    M flang/test/Lower/HLFIR/structure-constructor.f90
    M flang/test/Lower/HLFIR/user-defined-assignment.f90
    M flang/test/Lower/HLFIR/vector-subscript-lhs.f90
    M flang/test/Lower/Intrinsics/get_environment_variable.f90
    M flang/test/Lower/Intrinsics/transfer.f90
    M flang/test/Lower/Intrinsics/verify.f90
    M flang/test/Lower/OpenMP/FIR/parallel-lastprivate-clause-scalar.f90
    M flang/test/Lower/OpenMP/parallel-lastprivate-clause-scalar.f90
    M flang/test/Lower/allocatable-assignment.f90
    M flang/test/Lower/allocatable-polymorphic.f90
    M flang/test/Lower/array-character.f90
    M flang/test/Lower/array-derived-assignments.f90
    M flang/test/Lower/array-expression-slice-1.f90
    M flang/test/Lower/array-expression.f90
    M flang/test/Lower/call-implicit.f90
    M flang/test/Lower/character-assignment.f90
    M flang/test/Lower/character-substrings.f90
    M flang/test/Lower/components.f90
    M flang/test/Lower/entry-statement.f90
    M flang/test/Lower/forall/forall-allocatable-2.f90
    M flang/test/Lower/global-format-strings.f90
    M flang/test/Lower/host-associated.f90
    M flang/test/Lower/io-char-array.f90
    M flang/test/Lower/io-item-list.f90
    M flang/test/Lower/io-write.f90
    M flang/test/Lower/namelist.f90
    M flang/test/Lower/optional-value-caller.f90
    M flang/test/Lower/pointer-references.f90
    M flang/test/Lower/polymorphic.f90
    M flang/test/Lower/read-write-buffer.f90
    M flang/test/Lower/select-type-2.fir
    M flang/test/Lower/statement-function.f90
    M flang/test/Lower/transformational-intrinsics.f90
    M flang/test/Transforms/simplifyintrinsics.fir
    M flang/unittests/Optimizer/Builder/FIRBuilderTest.cpp

  Log Message:
  -----------
  [flang] Change `uniqueCGIdent` separator from `.` to `X` (#71338)

Change the separator in the `uniqueCGIdent` method to `X`. This change
is required to enable OpenMP offloading for the NVPTX target, as dots
are not valid identifiers in PTX and `uniqueCGIdent` is used to mangle
some literals. Follow up patches will change the remainder of `.`
appearances in names to `X` and add support for the NVPTX target.




More information about the All-commits mailing list