Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tbaa_immut for getfield of immutable types #13286

Merged
merged 1 commit into from
Sep 28, 2015
Merged

Conversation

yuyichao
Copy link
Contributor

This fixes a vectorization regression in this script

LLVM refuses to vectorize it on the current master because it cannot prove that the array doesn't alias the fields of factor::Complex64. (see test-0.4.ll and test-master.ll in the same directory for the raw llvmir including tbaa info)

@simonster @vtjnash

@yuyichao
Copy link
Contributor Author

Ref #8867 and this is master (post-codegen-rewrite) only.

@tkelman tkelman added the compiler:codegen Generation of LLVM IR and native code label Sep 23, 2015
@yuyichao
Copy link
Contributor Author

Ping. Is this OK to merge?

yuyichao added a commit that referenced this pull request Sep 28, 2015
Use tbaa_immut for getfield of immutable types
@yuyichao yuyichao merged commit 0c76560 into master Sep 28, 2015
@yuyichao yuyichao deleted the yyc/getfield_tbaa branch September 28, 2015 01:44
@yuyichao yuyichao mentioned this pull request Oct 11, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:codegen Generation of LLVM IR and native code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants