aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2002-12-23-LocalRAProblem.ll
diff options
context:
space:
mode:
authorDoug Moore <dougm@FreeBSD.org>2024-10-22 21:54:34 +0000
committerDoug Moore <dougm@FreeBSD.org>2024-10-22 21:54:34 +0000
commite2414d91d33f31d6f2c9f49eef7a1553b5798c9e (patch)
treea5f4a2467c54d4bd132e7f412c12305822fcea33 /test/CodeGen/X86/2002-12-23-LocalRAProblem.ll
parent5a6e19cac0c69f55c3b7b56c4489a611f4339a0e (diff)
downloadsrc-main.tar.gz
src-main.zip
vfs_subr: maintain sorted tailqHEADmain
Pctries are based on unsigned index values. Type daddr_t is signed. Using daddr_t as an index type for a pctrie works, except that the pctrie considers negative values greater than nonnegative ones. Building a sorted tailq of bufs, based on pctrie results, sorts negative daddr_ts larger than nonnegative ones, and makes code that depends on the tailq being actually sorted broken. Write wrappers for the functions that do pctrie operations that depend on index ordering that fix the order problem, and use them in place of direct pctrie operations. PR: 282134 Reported by: pho Reviewed by: kib, markj Tested by: pho Fixes: 2c8caa4b3925aa7335 vfs_subr: optimize inval_buf_range Differential Revision: https://reviews.freebsd.org/D47200
Diffstat (limited to 'test/CodeGen/X86/2002-12-23-LocalRAProblem.ll')
0 files changed, 0 insertions, 0 deletions