[PATCH] D11883: AMDGPU/SI: Better handle s_wait insertion

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 06:37:46 PDT 2015


tstellarAMD added inline comments.

================
Comment at: test/CodeGen/AMDGPU/wait2.ll:1
@@ +1,2 @@
+; RUN: llc -march=amdgcn --misched=ilpmax -mcpu=SI -verify-machineinstrs < %s | FileCheck -strict-whitespace %s
+; RUN: llc -march=amdgcn --misched=ilpmax -mcpu=tonga -verify-machineinstrs < %s | FileCheck -strict-whitespace %s
----------------
axeldavy wrote:
> tstellarAMD wrote:
> > Is there are reason why this test was added to a new file and not to wait.ll ?
> yes, the run command is different (and uses the ilpmax scheduler)
You can have multiple run lines in the same test file, you just need to use a different --check-prefix if the output is different.  It is preferred to put similar test cases in the same file if possible.


http://reviews.llvm.org/D11883





More information about the llvm-commits mailing list