Skip to content

Mark load from DataType as constant#37044

Merged
yuyichao merged 1 commit intomasterfrom
yyc/codegen/datatype
Aug 18, 2020
Merged

Mark load from DataType as constant#37044
yuyichao merged 1 commit intomasterfrom
yyc/codegen/datatype

Conversation

@yuyichao
Copy link
Contributor

@yuyichao yuyichao commented Aug 14, 2020

This is marked as mutable type only to give it the correct storage type and stable pointer address. There's no reason to penalize reader of type properties... Also, since we never allocate DataType in LLVM, we can go straight to tbaa_const skipping tbaa_immut.

Another 0.15% reduction in sysimg code size...

@yuyichao yuyichao force-pushed the yyc/codegen/datatype branch from 5a6c82c to 08bd132 Compare August 16, 2020 04:54
@yuyichao yuyichao merged commit 1d950f4 into master Aug 18, 2020
@yuyichao yuyichao deleted the yyc/codegen/datatype branch August 18, 2020 09:14
@yuyichao yuyichao mentioned this pull request Aug 25, 2020
simeonschaub pushed a commit to simeonschaub/julia that referenced this pull request Aug 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments