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.
Details
Details
- Reviewers
samparker efriedma t.p.northover rnk - Commits
- rGc081a5fb3402: Merging r352156: --------------------------------------------------------------…
rGf16e834dabab: [AArch64] Make the test for rsr and rsr64 stricter
rL352859: Merging r352156:
rC352156: [AArch64] Make the test for rsr and rsr64 stricter
rL352156: [AArch64] Make the test for rsr and rsr64 stricter
Diff Detail
Diff Detail
- Repository
- rL LLVM