diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2018-11-07 20:26:42 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2018-11-07 20:26:42 +0000 |
commit | 8ba740a5a813b9b0a7881aaa7a2d41720bf86b02 (patch) | |
tree | ed393e41571d63b20e6e29d6ca89d3f14a2275a7 /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | e06fb482a94f22e3cf66f4e3be0f6c500a3b7341 (diff) | |
download | llvm-8ba740a5a813b9b0a7881aaa7a2d41720bf86b02.zip llvm-8ba740a5a813b9b0a7881aaa7a2d41720bf86b02.tar.gz llvm-8ba740a5a813b9b0a7881aaa7a2d41720bf86b02.tar.bz2 |
Allow subclassing ExternalAA
This allows testing AMDGPU alias analysis like any
other alias analysis pass. This fixes the existing
test pointlessly running opt -O3 when it really
just wants to run the one analysis.
Before there was no way to test this using -aa-eval
with opt, since the default constructed pass
is run. The wrapper subclass allows the
default constructor to pass the necessary callback.
llvm-svn: 346353
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions