Tweak complex unboxing missed optimization message.
original commit: 631a1748743fa806e210939068723c7c92571b4b
This commit is contained in:
parent
7c8ac2188e
commit
04addef70f
|
@ -43,10 +43,10 @@
|
|||
(log-opt opt-label arity-raising-opt-msg))
|
||||
(define-syntax-rule (log-missed-complex-expr)
|
||||
(log-missed-optimization
|
||||
"Non complex value in complex arithmetic"
|
||||
"non-complex value in complex arithmetic"
|
||||
(string-append
|
||||
"This expression has a non FloatComplex type and thus cannot "
|
||||
"be promoted to unboxed arithmetic.")
|
||||
"This expression has a non-float Complex number type. "
|
||||
"The optimizer could optimize it better if it had type Float-Complex.")
|
||||
this-syntax))
|
||||
|
||||
;; If a part is 0.0?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#;#;
|
||||
#<<END
|
||||
TR missed opt: complex-exp.rkt 16:3 (exp 0) -- Non complex value in complex arithmetic
|
||||
TR missed opt: complex-exp.rkt 16:3 (exp 0) -- non-complex value in complex arithmetic
|
||||
TR opt: complex-exp.rkt 16:0 (- (exp 0) 1.0+2.0i) -- unboxed binary float complex
|
||||
TR opt: complex-exp.rkt 16:11 1.0+2.0i -- unboxed literal
|
||||
TR opt: complex-exp.rkt 16:3 (exp 0) -- float-arg-expr in complex ops
|
||||
|
|
Loading…
Reference in New Issue
Block a user