I happened to touch this code locally and noticed a couple of things:
- Let's use 'if (T var = expr)' form
- llvm.loop is one of the fixed metadata ids, let's just use that
Both #1 and #2 are used for elsewhere in the function for these exact accesses.
Differential D150109
[NFC] Refactor loop metadata movemen urnathan on May 8 2023, 3:58 AM. Authored by
Details
I happened to touch this code locally and noticed a couple of things:
Both #1 and #2 are used for elsewhere in the function for these exact accesses.
Diff Detail |