[llvm] [NVPTX] Add NVPTXIncreaseAligmentPass to improve vectorization (PR #144958)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 23 10:51:54 PDT 2025


================
@@ -0,0 +1,102 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 5
+; RUN: opt -S -passes=nvptx-increase-local-alignment -nvptx-ensure-minimum-local-alignment=1 < %s | FileCheck %s --check-prefixes=COMMON,MIN-1
----------------
Artem-B wrote:

Will `--nvptx-ensure-minimum-local-alignment=0` result in the current behavior when locals are naturally aligned? We may want to test that, too.

https://github.com/llvm/llvm-project/pull/144958


More information about the llvm-commits mailing list