summaryrefslogtreecommitdiff
path: root/test/binaryen.js/functions.js
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2021-10-05 19:06:15 +0300
committerGitHub <noreply@github.com>2021-10-05 16:06:15 +0000
commit653b9d028c12361d3e9e0c4008f8018990b765cb (patch)
tree04fd27a6cfffdbc702a77f62af9c9eef6c3e311f /test/binaryen.js/functions.js
parent6feb8838887d21f2412176f7fdc1ab68b0e5c23d (diff)
downloadbinaryen-653b9d028c12361d3e9e0c4008f8018990b765cb.tar.gz
binaryen-653b9d028c12361d3e9e0c4008f8018990b765cb.tar.bz2
binaryen-653b9d028c12361d3e9e0c4008f8018990b765cb.zip
[OptimizeInstructions] Fold select into zero or single expression for some patterns (#4181)
i32(x) ? i32(x) : 0 ==> x i32(x) ? 0 : i32(x) ==> {x, 0} i64(x) == 0 ? 0 : i64(x) ==> x i64(x) != 0 ? i64(x) : 0 ==> x i64(x) == 0 ? i64(x) : 0 ==> {x, 0} i64(x) != 0 ? 0 : i64(x) ==> {x, 0}
Diffstat (limited to 'test/binaryen.js/functions.js')
0 files changed, 0 insertions, 0 deletions