aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2018-11-07 20:26:42 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2018-11-07 20:26:42 +0000
commit8ba740a5a813b9b0a7881aaa7a2d41720bf86b02 (patch)
treeed393e41571d63b20e6e29d6ca89d3f14a2275a7 /llvm/lib/CodeGen/MachineFunction.cpp
parente06fb482a94f22e3cf66f4e3be0f6c500a3b7341 (diff)
downloadllvm-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