[all-commits] [llvm/llvm-project] 58af82: [OpenMP] Remove 'omp assumes' scopes now that we h...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Jan 20 06:11:28 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58af82b4623c1871a78a53ef86f64d4891dcc2da
      https://github.com/llvm/llvm-project/commit/58af82b4623c1871a78a53ef86f64d4891dcc2da
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-01-20 (Mon, 20 Jan 2025)

  Changed paths:
    M offload/DeviceRTL/CMakeLists.txt
    M offload/DeviceRTL/include/DeviceTypes.h
    M offload/DeviceRTL/include/Synchronization.h

  Log Message:
  -----------
  [OpenMP] Remove 'omp assumes' scopes now that we have no inline ASM (#123611)

Summary:
We used this globally scoped `ext_no_call_asm` as a sort of hack around
the compiler that allowed the attributor to optimize out inline assembly
calls to PTX instructions. Quite some time ago I got rid of every inline
assembly call and replaced it with a builitin, so this can just be
deleted.

Furthermore, I use the `[[omp::assume]]` attribute directly for the
aligned barrier usage. This prints an unknown assumption warning (even
though it isn't) so I'm just silencing that for now until I fix it
later.

---------

Co-authored-by: Michael Kruse <github at meinersbur.de>



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