[WebAssembly] Use the default alignment for SIMD types.
authorDan Gohman <dan433584@gmail.com>
Wed, 19 Aug 2015 20:30:20 +0000 (20:30 +0000)
committerDan Gohman <dan433584@gmail.com>
Wed, 19 Aug 2015 20:30:20 +0000 (20:30 +0000)
commit6e53cbdf5f71d18c46fbb116f150642135dc97d0
tree6d027edfdead6bf6a849d982dde4e56173b9f348
parent4d3b3bf51b977bb852b83cd9266344f56f6b9c72
[WebAssembly] Use the default alignment for SIMD types.

Previously WebAssembly's datalayout string had -v128:8:128. This had been an
attempt to declare a certain level of support for unaligned SIMD accesses.
However, clang makes its own determinations for SIMD alignment that are
independent of the datalayout string, so this wasn't actually meaningful.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245494 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
test/CodeGen/WebAssembly/comparisons_f32.ll
test/CodeGen/WebAssembly/comparisons_f64.ll
test/CodeGen/WebAssembly/comparisons_i32.ll
test/CodeGen/WebAssembly/comparisons_i64.ll
test/CodeGen/WebAssembly/fp32.ll
test/CodeGen/WebAssembly/fp64.ll
test/CodeGen/WebAssembly/immediates.ll
test/CodeGen/WebAssembly/integer32.ll
test/CodeGen/WebAssembly/integer64.ll
test/CodeGen/WebAssembly/return-void.ll
test/CodeGen/WebAssembly/unused-argument.ll