Skip to content

Commit c0c42c8

Browse files
authored
[SandboxIR][NFC] Change order of ifs in Context::getOrCreateValueInternal() (#127891)
Move the most common if statement to the top and the least common ones to the bottom. This should save CPU cycles during compilation. This patch also prefixes the llvm variables with the LLVM prefix to make the naming convention in this function more uniform. For example `C` to `LLVMC`.
1 parent 3836559 commit c0c42c8

File tree

1 file changed

+276
-267
lines changed

1 file changed

+276
-267
lines changed

0 commit comments

Comments
 (0)