[PATCH] D24462: [ARM] Don't convert switches to lookup tables of pointers with ROPI/RWPI
Oliver Stannard via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 20 03:38:16 PDT 2016
olista01 updated this revision to Diff 71912.
olista01 added a comment.
Check whether the value requires relocation, rather than the type.
Repository:
rL LLVM
https://reviews.llvm.org/D24462
Files:
include/llvm/Analysis/TargetTransformInfo.h
include/llvm/Analysis/TargetTransformInfoImpl.h
lib/Analysis/TargetTransformInfo.cpp
lib/Target/ARM/ARMTargetTransformInfo.h
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/ARM/switch-to-lookup-table.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24462.71912.patch
Type: text/x-patch
Size: 12832 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160920/aa42b420/attachment.bin>
More information about the llvm-commits
mailing list