[WebAssembly] Implement isCheapToSpeculateCtlz and isCheapToSpeculateCttz.
authorDan Gohman <dan433584@gmail.com>
Thu, 19 Nov 2015 23:04:59 +0000 (23:04 +0000)
committerDan Gohman <dan433584@gmail.com>
Thu, 19 Nov 2015 23:04:59 +0000 (23:04 +0000)
commit0426ad40b56741117d00e780b07607f120ee1d01
tree2ac55925a7aa9311bba8f77c581cac9f174279c1
parentab9499328c0131c75131825c527557c4b1c922cb
[WebAssembly] Implement isCheapToSpeculateCtlz and isCheapToSpeculateCttz.

This unbreaks test/CodeGen/WebAssembly/i32.ll and
test/CodeGen/WebAssembly/i64.ll after r224899.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253617 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
lib/Target/WebAssembly/WebAssemblyISelLowering.h