get clang to do less horrible codegen for index calculations
the do-while loop isn't actually necessary, just moving the unr offset is enough, but I'm doing it anyway
This commit is contained in:
parent
ad73e075e0
commit
68a969b417
@ -163,7 +163,7 @@ def for_mu{bulk, unr, extra}{vars,begin==0,end,iter} = {
|
||||
i+= unr
|
||||
}
|
||||
if (same{flush_max, 1/0}) {
|
||||
while (i+unr <= m) unr_iter{}
|
||||
do { unr_iter{} } while (i <= m-unr)
|
||||
} else {
|
||||
def done = makelabel{}
|
||||
def unr_end = m-unr + 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user