[PATCH] D86310: [X86] Align i128 to 16 bytes in x86 datalayouts
Harald van Dijk via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 8 18:20:54 PDT 2023
hvdijk updated this revision to Diff 557645.
hvdijk added a comment.
- Updated AutoUpgrade.cpp to also upgrade 32-bit data layout strings.
- Marked upgrade-datalayout2.ll as XFAIL with an explanation.
- Added upgrade-datalayout5.ll to check that we upgrade 32-bit data layout strings.
- Removed a test from DataLayoutUpgradeTest.cpp that we do not upgrade `e-p:32:32`, which now gets upgraded to `e-p:32:32-i128:128`.
In D86310#4652817 <https://reviews.llvm.org/D86310#4652817>, @rnk wrote:
> Regarding upgrade-datalayout2.ll, I don't think we need to be too constrained by it. @akhuang , do you recall why you added it?
>
> In other words, I think your direction is reasonable, we should go forward with this.
Thanks, I have now done this. The same problem turned out to also exist in DataLayoutUpgradeTest.cpp, where XFAIL is not an option, so I removed that one. That is not ideal but I do not see what alternative we have.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86310/new/
https://reviews.llvm.org/D86310
Files:
clang/lib/Basic/Targets/OSTargets.h
clang/lib/Basic/Targets/X86.h
clang/test/CodeGen/target-data.c
llvm/lib/IR/AutoUpgrade.cpp
llvm/lib/Target/X86/X86TargetMachine.cpp
llvm/test/Bitcode/upgrade-datalayout.ll
llvm/test/Bitcode/upgrade-datalayout2.ll
llvm/test/Bitcode/upgrade-datalayout3.ll
llvm/test/Bitcode/upgrade-datalayout4.ll
llvm/test/Bitcode/upgrade-datalayout5.ll
llvm/test/CodeGen/X86/AMX/amx-config.ll
llvm/test/CodeGen/X86/arg-copy-elide.ll
llvm/test/CodeGen/X86/atomic-idempotent.ll
llvm/test/CodeGen/X86/atomic-non-integer.ll
llvm/test/CodeGen/X86/atomic-unordered.ll
llvm/test/CodeGen/X86/atomic-xor.ll
llvm/test/CodeGen/X86/atomic128.ll
llvm/test/CodeGen/X86/avx512fp16-cvt.ll
llvm/test/CodeGen/X86/bitcast-i256.ll
llvm/test/CodeGen/X86/catchpad-dynamic-alloca.ll
llvm/test/CodeGen/X86/fp-intrinsics.ll
llvm/test/CodeGen/X86/fp128-cast-strict.ll
llvm/test/CodeGen/X86/fp128-cast.ll
llvm/test/CodeGen/X86/fp128-libcalls-strict.ll
llvm/test/CodeGen/X86/fp128-libcalls.ll
llvm/test/CodeGen/X86/fpenv-combine.ll
llvm/test/CodeGen/X86/fpenv.ll
llvm/test/CodeGen/X86/fptosi-sat-scalar.ll
llvm/test/CodeGen/X86/fptoui-sat-scalar.ll
llvm/test/CodeGen/X86/implicit-null-check.ll
llvm/test/CodeGen/X86/osx-private-labels.ll
llvm/test/CodeGen/X86/scheduler-backtracking.ll
llvm/test/CodeGen/X86/sdiv_fix.ll
llvm/test/CodeGen/X86/sdiv_fix_sat.ll
llvm/test/CodeGen/X86/setcc-wide-types.ll
llvm/test/CodeGen/X86/smul-with-overflow.ll
llvm/test/CodeGen/X86/sret-implicit.ll
llvm/test/CodeGen/X86/statepoint-deopt-lowering.ll
llvm/test/CodeGen/X86/statepoint-vector.ll
llvm/test/CodeGen/X86/udiv_fix.ll
llvm/test/CodeGen/X86/udiv_fix_sat.ll
llvm/test/tools/llvm-lto2/X86/pipeline.ll
llvm/test/tools/llvm-lto2/X86/slp-vectorize-pm.ll
llvm/test/tools/llvm-lto2/X86/stats-file-option.ll
llvm/unittests/Bitcode/DataLayoutUpgradeTest.cpp
llvm/unittests/CodeGen/InstrRefLDVTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86310.557645.patch
Type: text/x-patch
Size: 130935 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20231009/8e025322/attachment-0001.bin>
More information about the cfe-commits
mailing list