[PATCH] Fix SROA creating invalid bitcasts between address spaces

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Thu Feb 13 16:44:08 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"
 
----------------
Why do you need to change this? Nothing on this test uses an address space.


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



More information about the llvm-commits mailing list