[WebAssembly] Reverse the order of operands for br_if
authorDerek Schuff <dschuff@google.com>
Mon, 16 Nov 2015 21:04:51 +0000 (21:04 +0000)
committerDerek Schuff <dschuff@google.com>
Mon, 16 Nov 2015 21:04:51 +0000 (21:04 +0000)
commit8f9915e419f46351170998290a7a1a43f839ca10
treee218a36304ee4dcac67b1ea4ff12479ee362c705
parent3ee61b8306df4603ddca9e18ebb2e81aba1856be
[WebAssembly] Reverse the order of operands for br_if

Summary: This is to match the new version in the spec

Reviewers: sunfish

Subscribers: jfb, llvm-commits, dschuff

Differential Revision: http://reviews.llvm.org/D14519

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253249 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyInstrControl.td
lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
test/CodeGen/WebAssembly/cfg-stackify.ll