Comments (1)
Looks like an alignment issue with the amd64 sysv ABI, you can see in the following snippet that it is allocating the parameter on align 4
and then loading it as if it is align 16
:
define internal void @main.foos(<{ <2 x float>, <2 x float> }> %0, ptr noalias nocapture nonnull %__.context_ptr) {
decls:
%1 = alloca [4 x float], align 4
%2 = alloca [4 x float], align 32
%b = alloca [4 x float], align 32
br label %entry
entry: ; preds = %decls
store <{ <2 x float>, <2 x float> }> %0, ptr %1, align 1
%3 = load <4 x float>, ptr %1, align 16
%4 = load <4 x float>, ptr %1, align 16
from odin.
Related Issues (20)
- Compiler assertion error when proc group is used as a callback argument HOT 1
- Success of evaluating a global `when` statements depends on file order HOT 4
- Incorrect debug info generation for bitfields.
- Switch statement not type-checking
- Missing error for sole declaration in a case block of the switch statement
- Compiler silently fails when output file isn't writeable.
- Compiler ignores `distinct` for generic types
- Calculated default polymorphic const of a struct is incorrect
- Parapoly struct alias is broken when both types are in same package
- `sync.atomic_add()` causes LLVM code gen failure when using non-integer types
- Json should allow a way to specify how to marshal/unmarshal an object (e.g. encoding/uuid) HOT 2
- `linux.ptrace(linux.PTRACE_CONT, ...)` returns `EIO` every time HOT 3
- `wgpu` vendor library fails on windows due to linking error HOT 1
- `core:os` package `read_entire_file_xxx` procedures don't work on `/proc` filesystem even if on a Linux system HOT 3
- os2.process_start uses the global allocator instead of `context.allocator` which can lead to a panic/failed assert HOT 4
- Globally defined simd.f32x16 causes compiler crash
- Inconsistent array mathematics for enumerated arrays
- Cannot use hash library within a library function HOT 2
- Unable to seemingly perform arithmetic operations on polymorphic variables
- LLVM code gen failed duo to #soa dynamic array element getting cleared with {}
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odin.