[PATCH] Fix SROA creating invalid bitcasts between address spaces

Matt Arsenault Matthew.Arsenault at amd.com
Thu Feb 13 17:10:32 PST 2014



================
Comment at: test/Transforms/SROA/basictest.ll:4
@@ -3,3 +3,3 @@
 
-target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-n8:16:32:64"
+target datalayout = "e-p:64:64:64-p1:16:16:16-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-n8:16:32:64"
 
----------------
Matt Arsenault wrote:
> Rafael Ávila de Espíndola wrote:
> > Why do you need to change this? Nothing on this test uses an address space.
> This belongs with the one of my other SROA patches which does touch this test
Actually, it's used in this one too with the newly added  @PR14105_as1 test


http://llvm-reviews.chandlerc.com/D1764



More information about the llvm-commits mailing list