Make RTL:CONSTANT-COST always return positive.
authorTaylor R Campbell <campbell@mumble.net>
Tue, 15 Jan 2019 03:17:35 +0000 (03:17 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Wed, 21 Aug 2019 21:34:01 +0000 (21:34 +0000)
commit6150030e8b8ecd81f56aa6b8f06af663caf71fd5
treef767f2616201ffcb670b82101bd38ac00b2b2b87
parent8f1fd2ae054cdcfc710727ad6ad9c27b977fe503
Make RTL:CONSTANT-COST always return positive.

Otherwise CSE might substitute constants for registers where at best
it's not helpful and at worst we don't have rules for it.
src/compiler/machines/aarch64/machine.scm