[PATCH] D23356: [DAG] Fix incorrect alignment of ext load.

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 29 09:29:47 PDT 2016

arsenm added a comment.

In https://reviews.llvm.org/D23356#523047, @niravd wrote:

> The 0 alignment load is coming from the splitting of the extract_vector_elt.
> In https://reviews.llvm.org/D23356#511344, @arsenm wrote:
> > Where is the call site passing 0 alignment?

Could you be more specific?

Comment at: test/CodeGen/AMDGPU/extload.ll:1
@@ -1,2 +1,2 @@
-; RUN: llc -march=amdgcn -verify-machineinstrs < %s | FileCheck -check-prefix=SI-NOHSA -check-prefix=FUNC %s
+; RUN: llc -debug-only=misched -march=amdgcn -verify-machineinstrs %s -o - 2>&1| FileCheck -check-prefix=SI-NOHSA -check-prefix=FUNC -check-prefix=DEBUG %s
 ; RUN: llc -mtriple=amdgcn-amdhsa -mcpu=kaveri -verify-machineinstrs < %s | FileCheck -check-prefix=FUNC -check-prefix=CI-HSA -check-prefix=SI %s
-debug-only will have the same problem that this will only work in asserts build


More information about the llvm-commits mailing list