Commit a5b2b51
Disable binaryen trap test on Wasm backend (#5877)
* Disable binaryen trap test on Wasm backend
After llvm-mirror/llvm@9f86840#diff-15ffc2fb5830c3a8c3c4c354857b1631, LLVM has two behaviors:
When executing llc with `-mattr=+nontrapping-fptoint`:
It generates nontrapping version of instructions, those with :sat
varient.
When executing llc with `-mattr=-nontrapping-fptoint`:
It generates trapping version of instructions, but it inserts
conditional checks around them so they don't trap and clamp to the
predefined value.
So it seems not very possible to support this trapping test including
three modes (allow, trap, and js) for wasm backend now.
Related: WebAssembly/binaryen/#1168, #58631 parent 28a8b56 commit a5b2b51
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7142 | 7142 | | |
7143 | 7143 | | |
7144 | 7144 | | |
| 7145 | + | |
7145 | 7146 | | |
7146 | 7147 | | |
7147 | 7148 | | |
| |||
0 commit comments