summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2019-01-25 02:42:30 +0000
committerPetr Hosek <phosek@chromium.org>2019-01-25 02:42:30 +0000
commitf16e834dabab5638bb2cf84053def23ca453a80b (patch)
treebb758dac4f2b3ff2d63bfb96f6bf99be31bd0952 /llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
parentca676343a9681534bca98665fa1e496fa89bcc60 (diff)
downloadbcm5719-llvm-f16e834dabab5638bb2cf84053def23ca453a80b.tar.gz
bcm5719-llvm-f16e834dabab5638bb2cf84053def23ca453a80b.zip
[AArch64] Make the test for rsr and rsr64 stricter
ACLE specifies that return type for rsr and rsr64 is uint32_t and uint64_t respectively. D56852 change the return type of rsr64 from unsigned long to unsigned long long which at least on Linux doesn't match uint64_t, but the test isn't strict enough to detect that because compiler implicitly converts unsigned long long to uint64_t, but it breaks other uses such as printf with PRIx64 type specifier. This change makes the test stricter enforcing that the return type of rsr and rsr64 builtins is what is actually specified in ACLE. Differential Revision: https://reviews.llvm.org/D57210 llvm-svn: 352156
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud