Skip to content

Commit 654c42c

Browse files
author
Vasileios Porpodas
committed
[SandboxIR][NFC] Change order of ifs in Context::getOrCreateValueInternal()
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 1987f93 commit 654c42c

File tree

1 file changed

+276
-267
lines changed

1 file changed

+276
-267
lines changed

0 commit comments

Comments
 (0)