[PATCH] D34104: [SROA] Fix APInt size when alloca address space is not 0

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 12:05:00 PDT 2017


arsenm added inline comments.


================
Comment at: test/Transforms/SROA/address-spaces.ll:2
 ; RUN: opt < %s -sroa -S | FileCheck %s
-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"
+target datalayout = "e-p:64:64:64-p1:16:16:16-p5:32:32:32-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-A5"
 
----------------
arsenm wrote:
> I think this test should be left as is. Versions of this test with the non-0 alloca addrspace belong in a separate test file
I meant to merge it with the test that already changes the address space alloca, not this one


https://reviews.llvm.org/D34104





More information about the llvm-commits mailing list