]> granicus.if.org Git - llvm/commit
[Attributor] Use the cached data layout directly
authorJohannes Doerfert <jdoerfert@anl.gov>
Mon, 12 Aug 2019 22:21:09 +0000 (22:21 +0000)
committerJohannes Doerfert <jdoerfert@anl.gov>
Mon, 12 Aug 2019 22:21:09 +0000 (22:21 +0000)
commit26392263c3dc4d2d8499737688b05a2132d42c95
tree63f53f8ba9db710bad69dd649a660b606fcfeb23
parent343c25c69d6ae5a3b3551be46d9008b0c5049c3f
[Attributor] Use the cached data layout directly

This removes the warning by using the new DL member.
It also simplifies the code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368625 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/IPO/Attributor.h
lib/Transforms/IPO/Attributor.cpp