Displaying 1 result from an estimated 1 matches for "cc278c79".
2016 May 30
3
Loads and stores of unsized types?
This came up in D20764, this IR verifies today:
%X = type opaque
define void @f_0(%X* %ptr) {
%t = load %X, %X* %ptr
ret void
}
define void @f_1(%X %val, %X* %ptr) {
store %X %val, %X* %ptr
ret void
}
which I found surprising -- what does it mean to load / store values
of unknown sizes? Passing it to llc fails an assertion. Are there
legitimate cases where we'd want to generate