summaryrefslogtreecommitdiff
path: root/src/ir/literal-utils.h
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2021-11-12 23:58:05 +0200
committerGitHub <noreply@github.com>2021-11-12 13:58:05 -0800
commit5597d1c03e25684b999035e77578db97e91c16eb (patch)
treeb83b598162fe94156044fac56ba1dc079ec512e0 /src/ir/literal-utils.h
parent25a2b5fc420023a94f0aa3c71b1fb915be8a58d1 (diff)
downloadbinaryen-5597d1c03e25684b999035e77578db97e91c16eb.tar.gz
binaryen-5597d1c03e25684b999035e77578db97e91c16eb.tar.bz2
binaryen-5597d1c03e25684b999035e77578db97e91c16eb.zip
[OptimizeInstructions] Combine extend into i64 and 32-bit load operations (#4307)
i64.extend_i32_u(i32.load8_u(x)) -> i64.load8_u(x) i64.extend_i32_u(i32.load16_u(x)) -> i64.load16_u(x) i64.extend_i32_s(i32.load8_u(x)) -> i64.load8_u(x) i64.extend_i32_s(i32.load16_u(x)) -> i64.load16_u(x) i64.extend_i32_s(i32.load8_s(x)) -> i64.load8_s(x) i64.extend_i32_s(i32.load16_s(x)) -> i64.load16_s(x) i64.extend_i32_u(i32.load(x))) -> i64.load32_u(x) i64.extend_i32_s(i32.load(x))) -> i64.load32_s(x) don't apply to i64.extend_i32_u(i32.load8_s(x)) -> skip i64.extend_i32_u(i32.load16_s(x)) -> skip i64.extend_i32_s(i32.atomic.load(x)) -> skip
Diffstat (limited to 'src/ir/literal-utils.h')
0 files changed, 0 insertions, 0 deletions