diff options
author | Dan Gohman <dan433584@gmail.com> | 2016-02-22 20:04:02 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2016-02-22 20:04:02 +0000 |
commit | 3b09d279be164f3e9a16b18eced38ee75a00e6fe (patch) | |
tree | d234074f36799119b3d5d148443d5c21eb8b1c8a /llvm/lib/CodeGen/ProcessImplicitDefs.cpp | |
parent | 56da313e866ddebe7f1188825346b0c31efd03fa (diff) | |
download | llvm-3b09d279be164f3e9a16b18eced38ee75a00e6fe.zip llvm-3b09d279be164f3e9a16b18eced38ee75a00e6fe.tar.gz llvm-3b09d279be164f3e9a16b18eced38ee75a00e6fe.tar.bz2 |
[WebAssembly] Teach address folding to fold bitwise-or nodes.
LLVM converts adds into ors when it can prove that the operands don't share
any non-zero bits. Teach address folding to recognize or instructions with
constant operands with this property that can be folded into addresses as
if they were adds.
llvm-svn: 261562
Diffstat (limited to 'llvm/lib/CodeGen/ProcessImplicitDefs.cpp')
0 files changed, 0 insertions, 0 deletions