Skip to content

fix scoping of loop variable in simd macro#29730

Merged
KristofferC merged 1 commit intomasterfrom
kc/fix_simd_loop
Oct 22, 2018
Merged

fix scoping of loop variable in simd macro#29730
KristofferC merged 1 commit intomasterfrom
kc/fix_simd_loop

Conversation

@KristofferC
Copy link
Copy Markdown
Member

Fixes #29716

@KristofferC KristofferC added bugfix This change fixes an existing bug compiler:simd instruction-level vectorization labels Oct 19, 2018
Copy link
Copy Markdown
Contributor

@strickek strickek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test line 68: j = k = 3 and j = k = 4, both results are ok ?

@KristofferC
Copy link
Copy Markdown
Member Author

Don't fully understand your comment, could you elaborate?

@strickek
Copy link
Copy Markdown
Contributor

Initial setting for j and k is 4, end of loop value is 3 for j and k. So test j == k will be positiv for result 4 and 3 (scope).

@KristofferC KristofferC added the minor change Marginal behavior change acceptable for a minor release label Oct 22, 2018
@KristofferC KristofferC merged commit 4277da7 into master Oct 22, 2018
@KristofferC KristofferC deleted the kc/fix_simd_loop branch October 22, 2018 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This change fixes an existing bug compiler:simd instruction-level vectorization minor change Marginal behavior change acceptable for a minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants