[all-commits] [llvm/llvm-project] f287c1: [polly] Fix i8 alignment in datalayout of lit test

Jannik Silvanus via All-commits all-commits at lists.llvm.org
Fri Jan 20 06:53:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f287c1d3153e996502368f4be4f367dca65b03c7
      https://github.com/llvm/llvm-project/commit/f287c1d3153e996502368f4be4f367dca65b03c7
  Author: Jannik Silvanus <jannik.silvanus at amd.com>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
    M polly/test/ScopInfo/wraping_signed_expr_0.ll
    M polly/test/ScopInfo/wraping_signed_expr_4.ll

  Log Message:
  -----------
  [polly] Fix i8 alignment in datalayout of lit test

Two lit test used overaligned i8, without the test case actually
depending on i8 alignment.
Change the datalayout string to use naturally aligned i8,
preparing for the upcoming requirement of naturally aligned i8.


  Commit: 76677173ec81fcb6a7eeda4a0647d0ce931d5acb
      https://github.com/llvm/llvm-project/commit/76677173ec81fcb6a7eeda4a0647d0ce931d5acb
  Author: Jannik Silvanus <jannik.silvanus at amd.com>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
    M llvm/test/CodeGen/X86/2011-10-19-LegelizeLoad.ll

  Log Message:
  -----------
  [X86] Fix i8 alignment in datalayout of lit test

A lit test used overaligned i8, apparently due to an old copy-paste
error, intending to specify i32 alignment.

Change the datalayout string to use naturally aligned i8.


  Commit: 986029c1640a5fa9ce2fa3becab0538168858741
      https://github.com/llvm/llvm-project/commit/986029c1640a5fa9ce2fa3becab0538168858741
  Author: Jannik Silvanus <jannik.silvanus at amd.com>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
    M llvm/test/Transforms/IndVarSimplify/dangling-use.ll

  Log Message:
  -----------
  [Transforms] Fix i8 alignment in datalayout of lit test

A lit test used overaligned i8, apparently due to an old copy-paste
error, intending to specify i16 alignment.

Change the datalayout string to use naturally aligned i8.


  Commit: 3e4a6f57412c63bab3f386a2c8a044a88657bac1
      https://github.com/llvm/llvm-project/commit/3e4a6f57412c63bab3f386a2c8a044a88657bac1
  Author: Jannik Silvanus <jannik.silvanus at amd.com>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
    M llvm/test/tools/dxil-dis/opaque-value_as_metadata.ll

  Log Message:
  -----------
  [DirectX] Fix i8 alignment in datalayout of lit test

An llc lit test used overaligned i8, apparently originating from the old DXIL data layout.
The new DXIL data layout uses naturally aligned i8.

llc ignores the data layout of a module and instead sets the data layout based
on the target. Change the data layout string in the test to match that target-derived
data layout.


Compare: https://github.com/llvm/llvm-project/compare/d72934c4d1e9...3e4a6f57412c


More information about the All-commits mailing list