summaryrefslogtreecommitdiffstats
path: root/clang/unittests/CodeGen/TBAAMetadataTest.cpp
diff options
context:
space:
mode:
authorDiana Picus <diana.picus@linaro.org>2017-12-22 11:09:18 +0000
committerDiana Picus <diana.picus@linaro.org>2017-12-22 11:09:18 +0000
commit68773859c83eae33a6b02be8e647ed9ce2afcd7a (patch)
tree118b33925437f150c33c2a7f2d2b38ed8cc192dd /clang/unittests/CodeGen/TBAAMetadataTest.cpp
parentb8318155eb071ae2ad6ba94fd7865395e36c35b4 (diff)
downloadbcm5719-llvm-68773859c83eae33a6b02be8e647ed9ce2afcd7a.tar.gz
bcm5719-llvm-68773859c83eae33a6b02be8e647ed9ce2afcd7a.zip
[ARM GlobalISel] Support pointer constants
Pointer constants are pretty rare, since we usually represent them as integer constants and then cast to pointer. One notable exception is the null pointer constant, which is represented directly as a G_CONSTANT 0 with pointer type. Mark it as legal and make sure it is selected like any other integer constant. llvm-svn: 321354
Diffstat (limited to 'clang/unittests/CodeGen/TBAAMetadataTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud