Commit e9f98ae
committed
[MSP430] Update LLVM submodule to fix size and alignment of structs.
Without this patch the struct
```Rust
#[repr(C)]
struct A {
a: u8,
}
```
has size 2 and alignment 2.
But MSP430 EABI dictates that such struct should have size 1
and alignment 1.1 parent fc9ccfd commit e9f98ae
2 files changed
Lines changed: 2 additions & 2 deletions
- docs/LangRef.rst+13
- include/llvm/IR/Attributes.td+1
- include/llvm/Target/TargetLowering.h+6
- lib/IR/Attributes.cpp+7
- lib/Target/MSP430/MSP430.td+14
- lib/Target/MSP430/MSP430ISelDAGToDAG.cpp+2-2
- lib/Target/MSP430/MSP430ISelLowering.cpp+3-24
- lib/Target/MSP430/MSP430InstrInfo.td+5
- lib/Target/MSP430/MSP430RegisterInfo.cpp+1-1
- lib/Target/MSP430/MSP430Subtarget.cpp+26-1
- lib/Target/MSP430/MSP430Subtarget.h+11
- lib/Target/MSP430/MSP430TargetMachine.cpp+6-2
- lib/Target/X86/X86FrameLowering.cpp+14-18
- lib/Target/X86/X86ISelLowering.cpp+21-1
- lib/Target/X86/X86ISelLowering.h+2
- test/CodeGen/MSP430/Inst16mm.ll+1-1
- test/CodeGen/MSP430/hwmult16.ll+1
- test/CodeGen/MSP430/hwmult32.ll+1
- test/CodeGen/MSP430/hwmultf5.ll+1
- test/CodeGen/MSP430/struct_layout.ll+57
- test/CodeGen/MSP430/vararg.ll+1-1
- test/CodeGen/X86/stack-probe-red-zone.ll+21
- test/CodeGen/X86/stack-probes.ll+29
- test/Transforms/Inline/inline-probe-stack.ll+20
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
0 commit comments