[PATCH] D74311: [CodeGen] Fix the computation of the alignment of split stores.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 10 08:06:58 PST 2020


spatel added inline comments.


================
Comment at: llvm/test/CodeGen/PowerPC/split-store-alignment.ll:101-102
+; PPC64-NEXT:    [[TMP2:%.*]] = bitcast i64* [[P]] to i32*
+; PPC64-NEXT:    [[TMP3:%.*]] = getelementptr i32, i32* [[TMP2]], i32 1
+; PPC64-NEXT:    store i32 0, i32* [[TMP3]], align 4
+; PPC64-NEXT:    ret void
----------------
lebedev.ri wrote:
> Okay, i guess there is no big-endian issue after all.
Wait - why is there no difference between LE and BE here?
We may need to explicitly specify the datalayout on the command-line or in the test file.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74311/new/

https://reviews.llvm.org/D74311





More information about the llvm-commits mailing list