google-research / dex-lang

Research language for array processing in the Haskell/ML family
BSD 3-Clause "New" or "Revised" License
1.56k stars 106 forks source link

Fix test regressions after LLVM 15 upgrade #1278

Open dan-zheng opened 1 year ago

dan-zheng commented 1 year ago

This issue tracks test regressions after upgrading to LLVM 15 in https://github.com/google-research/dex-lang/pull/1264.

Test regression types:

Tests to fix

Raw occurrences of FIXME(llvm-15) ```console $ # From https://github.com/google-research/dex-lang/tree/llvm-15 rg "FIXME\(llvm-15\)" examples/nn.dx 168:-- FIXME(llvm-15): Re-enable lines below. Currently crashes with segfault. examples/tutorial.dx 376:-- FIXME(llvm-15): Re-enable lines below. Currently crashes with segfault. 627:-- FIXME(llvm-15): Re-enable lines below. Currently crashes with segfault. examples/mcmc.dx 106:-- FIXME(llvm-15): Re-enable this. 119:-- FIXME(llvm-15): Re-enable this. examples/psd.dx 34:-- FIXME(llvm-15): Re-enable this. makefile 224:# fluidsim schrodinger # FIXME(llvm-15): segfault due to `:html` command 225:# mcts # FIXME(llvm-15): nondeterministic segfault 240:# set-tests # FIXME(llvm-15): segfault tests/eval-tests.dx 221:-- FIXME(llvm-15): Re-enable this. tests/sort-tests.dx 49:-- FIXME(llvm-15): Re-enable below. tests/adt-tests.dx 263:-- FIXME(llvm-15): Fix segfault on llvm-15 branch. 277:-- FIXME(llvm-15): Fix segfault on llvm-15 branch. 282:-- FIXME(llvm-15): Fix segfault on llvm-15 branch. ```