[PATCH] D69534: [X86] Lower frame references with large offsets
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 9 14:37:51 PST 2020
arsenm added inline comments.
================
Comment at: llvm/test/CodeGen/X86/large-stack-offset.ll:5-7
+; ModuleID = 'bugpoint-reduced-simplified.bc'
+source_filename = "test.c"
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
----------------
These can be dropped
================
Comment at: llvm/test/CodeGen/X86/large-stack-offset.ll:8
+target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-unknown-linux-gnu"
+
----------------
Should be moved to -mtriple argument
================
Comment at: llvm/test/CodeGen/X86/large-stack-offset.ll:26
+
+ %0 = load double, double* %arrayidx34, align 8
+ call void (i8*, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.7, i64 0, i64 0), i32 undef, i32 262143999, double %0, i32 524287999, double undef, i32 786431999, double undef, i32 1048575999, double undef)
----------------
Use named values
================
Comment at: llvm/test/CodeGen/X86/large-stack-offset.ll:33-34
+
+attributes #0 = { noinline optnone "frame-pointer"="all" "no-infs-fp-math"="false" }
+attributes #1 = { "use-soft-float"="false" }
----------------
Attributes can probably be removed
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69534/new/
https://reviews.llvm.org/D69534
More information about the llvm-commits
mailing list