[all-commits] [llvm/llvm-project] 6f489f: Reapply "[flang] Lower EOSHIFT into hlfir.eoshift....

Slava Zakharin via All-commits all-commits at lists.llvm.org
Tue Aug 19 08:36:35 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f489fb5e5b12c0e8c30ba3af447eed243fa0596
      https://github.com/llvm/llvm-project/commit/6f489fb5e5b12c0e8c30ba3af447eed243fa0596
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2025-08-19 (Tue, 19 Aug 2025)

  Changed paths:
    M flang/lib/Lower/HlfirIntrinsics.cpp
    M flang/lib/Optimizer/Builder/FIRBuilder.cpp
    M flang/test/HLFIR/simplify-hlfir-intrinsics-eoshift.fir
    A flang/test/Lower/HLFIR/eoshift.f90

  Log Message:
  -----------
  Reapply "[flang] Lower EOSHIFT into hlfir.eoshift." (#153907) (#154241)

This reverts commit 5178aeff7b96e86b066f8407b9d9732ec660dd2e.

In addition:
  * Scalar constant UNSIGNED BOUNDARY is explicitly casted
    to the result type so that the generated hlfir.eoshift
    operation is valid. The lowering produces signless constants
    by default. It might be a bigger issue in lowering, so I just
    want to "fix" it for EOSHIFT in this patch.
  * Since we have to create unsigned integer constant during
    HLFIR inlining, I added code in createIntegerConstant
    to make it possible.



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