Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
rust-lang
/
rust
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
15.4k
Star
115k
Code
Issues
5k+
Pull requests
1.3k
Actions
Projects
Security and quality
6
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
LLVM codegen: Don't emit zero-sized padding for fields
- #87254
#87254
Merged
bors
merged 13 commits into
rust-lang:master
rust-lang/rust:master
from
rusticstuff:rustc_codegen_llvm_dont_emit_zero_sized_padding
rusticstuff/rust:rustc_codegen_llvm_dont_emit_zero_sized_padding
Copy head branch name to clipboard
Aug 11, 2021
Conversation
Commits
13
(13)
Checks
Files changed
Merged
LLVM codegen: Don't emit zero-sized padding for fields
#87254
bors
merged 13 commits into
rust-lang:master
rust-lang/rust:master
from
rusticstuff:rustc_codegen_llvm_dont_emit_zero_sized_padding
rusticstuff/rust:rustc_codegen_llvm_dont_emit_zero_sized_padding
Copy head branch name to clipboard
Commits
Commits on Aug 4, 2021
LLVM codegen: Don't emit zero-sized padding for fields
Show description for 738868b
hkratz
committed
738868b
View commit details
Copy full SHA for 738868b
Browse repository at this point
Remove 0-sized paddings from field loyout tests.
hkratz
committed
60a523d
View commit details
Copy full SHA for 60a523d
Browse repository at this point
Replace on-the-fly llvm field index calculation with cache
hkratz
committed
e410658
View commit details
Copy full SHA for e410658
Browse repository at this point
Don't cache projection if no padding is used.
Show description for e899082
hkratz
committed
e899082
View commit details
Copy full SHA for e899082
Browse repository at this point
Improve/add comments
hkratz
committed
50be80b
View commit details
Copy full SHA for 50be80b
Browse repository at this point
Add testcase for proper LLVM representation of SIMD types.
Show description for 4a8202c
hkratz
committed
4a8202c
View commit details
Copy full SHA for 4a8202c
Browse repository at this point
Fix va_args calling on aarch64 non-macos/ios.
Show description for 7dbc568
hkratz
committed
7dbc568
View commit details
Copy full SHA for 7dbc568
Browse repository at this point
Commits on Aug 5, 2021
Store field remapping information together with the LLVM type in a new TypeLowering struct instead of an extra cache.
hkratz
committed
4a4e9e3
View commit details
Copy full SHA for 4a4e9e3
Browse repository at this point
Replace hard-coded field indexes with lookup on aarch64 non-macos.
Show description for 89a369a
hkratz
committed
89a369a
View commit details
Copy full SHA for 89a369a
Browse repository at this point
Commits on Aug 9, 2021
Fix nits.
hkratz
committed
c627c0d
View commit details
Copy full SHA for c627c0d
Browse repository at this point
TEST: Use SmallVec<[u32; 4]> for field projection.
hkratz
committed
c1d0f0a
View commit details
Copy full SHA for c1d0f0a
Browse repository at this point
Avoid unnecessary allocation.
hkratz
committed
1d4972e
View commit details
Copy full SHA for 1d4972e
Browse repository at this point
Test: Use smallvec directly instead of boxed.
hkratz
committed
02295f4
View commit details
Copy full SHA for 02295f4
Browse repository at this point
You can’t perform that action at this time.