diff options
author | Sverker Eriksson <[email protected]> | 2017-03-09 12:20:24 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2017-03-09 12:20:24 +0100 |
commit | 0380cf2f9d834eb2c84b5f9c6912396c80806b43 (patch) | |
tree | e79efd73bd600ec8d2fa485a618970b3ad649dd5 /lib/hipe/regalloc/hipe_amd64_specific_sse2.erl | |
parent | fcd9a09dc614d61a3e06953837e3bdc3c311710d (diff) | |
parent | 16500d689aab70017d6e6c532aef69c94b1b132a (diff) | |
download | otp-0380cf2f9d834eb2c84b5f9c6912396c80806b43.tar.gz otp-0380cf2f9d834eb2c84b5f9c6912396c80806b43.tar.bz2 otp-0380cf2f9d834eb2c84b5f9c6912396c80806b43.zip |
Merge PR-1360 from margnus1/hipe-codegen/OTP-14261
HiPE: Various small code cleanups and codegen improvements
Diffstat (limited to 'lib/hipe/regalloc/hipe_amd64_specific_sse2.erl')
-rw-r--r-- | lib/hipe/regalloc/hipe_amd64_specific_sse2.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hipe/regalloc/hipe_amd64_specific_sse2.erl b/lib/hipe/regalloc/hipe_amd64_specific_sse2.erl index 9c94539bc6..9682d37520 100644 --- a/lib/hipe/regalloc/hipe_amd64_specific_sse2.erl +++ b/lib/hipe/regalloc/hipe_amd64_specific_sse2.erl @@ -126,8 +126,8 @@ temp0(_) -> all_precoloured(Ctx) -> allocatable(Ctx). -is_precoloured(Reg, Ctx) -> - lists:member(Reg,all_precoloured(Ctx)). +is_precoloured(Reg, _) -> + hipe_amd64_registers:is_precoloured_sse2(Reg). physical_name(Reg, _) -> Reg. |