aboutsummaryrefslogtreecommitdiff
path: root/x
diff options
context:
space:
mode:
Diffstat (limited to 'x')
-rw-r--r--x19
1 files changed, 19 insertions, 0 deletions
diff --git a/x b/x
new file mode 100644
index 0000000..d04c37d
--- /dev/null
+++ b/x
@@ -0,0 +1,19 @@
+target triple = "x86_64-pc-linux-gnu"
+%Vec2f.0 = type opaque
+%Vec2f.0 = type { float, float }
+
+define internal float @x.1(%Vec2f.0 %v) {
+%v.0 = alloca %Vec2f.0 store %Vec2f.0 %v, %Vec2f.0* %v.0
+ %t1 = getelementptr %Vec2f.0, %Vec2f.0* %v.0, i32 0, i32 0
+ %t0 = load float, float* %t1
+ ret float %t0
+ ret float undef
+}
+define internal float @y.2(%Vec2f.0* %v) {
+%v.0 = alloca %Vec2f.0* store %Vec2f.0* %v, %Vec2f.0** %v.0
+ %t1 = load %Vec2f.0*, %Vec2f.0** %v.0
+ %t2 = getelementptr %Vec2f.0, %Vec2f.0* %t1, i32 0, i32 1
+ %t0 = load float, float* %t2
+ ret float %t0
+ ret float undef
+}