aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/MathExtrasTest.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-02-08 15:04:23 +0100
committerNikita Popov <npopov@redhat.com>2022-02-08 15:06:02 +0100
commit924696d271cabdda066088c40a0fa98bd240b86a (patch)
tree5af4de8233bd2f3de714e605cf4e1006b72114c5 /llvm/unittests/Support/MathExtrasTest.cpp
parent58f944cf0ba8bd7425cedb09888516404e907813 (diff)
downloadllvm-924696d271cabdda066088c40a0fa98bd240b86a.zip
llvm-924696d271cabdda066088c40a0fa98bd240b86a.tar.gz
llvm-924696d271cabdda066088c40a0fa98bd240b86a.tar.bz2
[AsmPrinter] Avoid pointer element type access
Instead of checking for a bitcast from a function type, check whether the aliasee is a function after stripping bitcasts. This is not strictly equivalent, but serves the same purpose.
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions