[PATCH] D32581: [Polly] Do not introduce address space cast
Tobias Grosser via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 26 23:37:40 PDT 2017
grosser added a comment.
Hi ether,
I just run your patch, but the test case you added breaks:
opt -polly-process-unprofitable -polly-remarks-minimal -polly-codegen -polly-invariant-load-hoisting=true -S < /home/grosser/Projects/polly/git/tools/polly/test/Isl/CodeGen/invariant_load_address_space.ll | FileCheck /home/grosser/Projects/polly/git/tools/polly/test/Isl/CodeGen/invariant_load_address_space.ll
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Exit Code: 1
Command Output (stderr):
------------------------
/home/grosser/Projects/polly/git/tools/polly/test/Isl/CodeGen/invariant_load_address_space.ll:4:15: error: expected string not found in input
; CHECK-NEXT: %polly.access.B = getelementptr i32, i32 addrspace(5)* %B, i64 0
^
<stdin>:13:22: note: scanning from here
polly.preload.begin: ; preds = %polly.split_new_and_old
^
<stdin>:14:2: note: possible intended match here
%polly.access.B = getelementptr i32, i32 addrspace(1)* %B, i64 0
The input code does not contain any element from address space 5? Is this intended?
Repository:
rL LLVM
https://reviews.llvm.org/D32581
More information about the llvm-commits
mailing list