diff options
author | Björn Gustavsson <[email protected]> | 2019-05-22 11:28:19 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2019-05-22 11:28:19 +0200 |
commit | 48e1cc6a6f7bebacd5fb060bfd65ececbabfa6a1 (patch) | |
tree | 833fa41fe780cf9a5b9f03f5d64143e115d46b36 /lib/compiler/test | |
parent | 13833d876d103c03df4967e1fb249cdb8d30bc0b (diff) | |
parent | 18dc9a8099d1ad8f52b9db7bd251bcbfd632ce5e (diff) | |
download | otp-48e1cc6a6f7bebacd5fb060bfd65ececbabfa6a1.tar.gz otp-48e1cc6a6f7bebacd5fb060bfd65ececbabfa6a1.tar.bz2 otp-48e1cc6a6f7bebacd5fb060bfd65ececbabfa6a1.zip |
Merge pull request #2242 from bjorng/bjorn/add-swap-instruction
Make the swap instruction known to the compiler
Diffstat (limited to 'lib/compiler/test')
-rw-r--r-- | lib/compiler/test/compile_SUITE.erl | 7 | ||||
-rw-r--r-- | lib/compiler/test/test_lib.erl | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lib/compiler/test/compile_SUITE.erl b/lib/compiler/test/compile_SUITE.erl index 1e6ea4800f..7e9e641478 100644 --- a/lib/compiler/test/compile_SUITE.erl +++ b/lib/compiler/test/compile_SUITE.erl @@ -1410,8 +1410,13 @@ bc_options(Config) -> {158, small_maps, [r20]}, {158, small_maps, [r21]}, + {164, small_maps, [r22]}, + {164, big, [r22]}, {164, small_maps, []}, - {164, big, []} + {164, big, []}, + + {168, small, [r22]}, + {168, small, []} ], Test = fun({Expected,Mod,Options}) -> diff --git a/lib/compiler/test/test_lib.erl b/lib/compiler/test/test_lib.erl index 3348c6e9ea..98210a351c 100644 --- a/lib/compiler/test/test_lib.erl +++ b/lib/compiler/test/test_lib.erl @@ -82,6 +82,7 @@ opt_opts(Mod) -> (no_ssa_float) -> true; (no_ssa_opt) -> true; (no_stack_trimming) -> true; + (no_swap) -> true; (no_type_opt) -> true; (_) -> false end, Opts). |