SeparateConstOffsetFromGEP: Reorder run lines
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 24 Jun 2023 10:56:01 +0000 (06:56 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 26 Jun 2023 17:58:06 +0000 (13:58 -0400)
Testing codegen in test/Transforms is questionable to begin with, but
it's more reasonable to see failures on the IR half before ISA checks.

llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep-and-gvn.ll

index 84fc8da..5652b66 100644 (file)
@@ -1,8 +1,8 @@
-; RUN: llc < %s -mtriple=nvptx64-nvidia-cuda -mcpu=sm_20 \
-; RUN:     | FileCheck %s --check-prefix=PTX
 ; RUN: opt < %s -mtriple=nvptx64-nvidia-cuda -S -passes=separate-const-offset-from-gep,gvn \
 ; RUN:       -reassociate-geps-verify-no-dead-code \
 ; RUN:     | FileCheck %s --check-prefix=IR
+; RUN: llc < %s -mtriple=nvptx64-nvidia-cuda -mcpu=sm_20 \
+; RUN:     | FileCheck %s --check-prefix=PTX
 
 ; Verifies the SeparateConstOffsetFromGEP pass.
 ; The following code computes