[WebAssembly] Limit alignment hints to natural alignment.
authorDan Gohman <dan433584@gmail.com>
Thu, 21 Apr 2016 23:59:48 +0000 (23:59 +0000)
committerDan Gohman <dan433584@gmail.com>
Thu, 21 Apr 2016 23:59:48 +0000 (23:59 +0000)
commit04e7fb778dbe8f99ea95bb40f57f5063a75669fd
tree3bc6471721d2948a0c24fdd1fd65b9319b28cbed
parent5be6064974db2ae9f9e412dac6a29655a7deb585
[WebAssembly] Limit alignment hints to natural alignment.

This follows the current binary format rules.

llvm-svn: 267082
llvm/lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp
llvm/test/CodeGen/WebAssembly/byval.ll
llvm/test/CodeGen/WebAssembly/i32-load-store-alignment.ll
llvm/test/CodeGen/WebAssembly/i64-load-store-alignment.ll