[all-commits] [llvm/llvm-project] b01ab5: [flang][CUDA] Apply intrinsic operator overrides (...

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Jul 30 11:42:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b01ab5318e6d1c0e19245cd0551789c02c81fb7d
      https://github.com/llvm/llvm-project/commit/b01ab5318e6d1c0e19245cd0551789c02c81fb7d
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M flang/include/flang/Semantics/semantics.h
    M flang/lib/Semantics/check-cuda.cpp
    M flang/lib/Semantics/check-declarations.cpp
    M flang/lib/Semantics/expression.cpp
    A flang/test/Semantics/bug1214.cuf
    M flang/test/Semantics/cuf11.cuf

  Log Message:
  -----------
  [flang][CUDA] Apply intrinsic operator overrides (#151018)

Fortran's intrinsic numeric and relational operators can be overridden
with explicit interfaces so long as one or more of the dummy arguments
have the DEVICE attribute. Semantics already allows this without
complaint, but fails to replace the operations with the defined specific
procedure calls when analyzing expressions.



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