Originally posted by rohcQaH
View Post
NIR supports structured control flow, swizzles and writemasks, modifiers
(abs, negate, saturate), etc. natively in the IR instead of something
that's tacked on or something that drivers have to do themselves. So
no, I'm not re-inventing LLVM.
(abs, negate, saturate), etc. natively in the IR instead of something
that's tacked on or something that drivers have to do themselves. So
no, I'm not re-inventing LLVM.
From http://www.freedesktop.org/wiki/Soft...ured_branches/
Transforming the LLVM IR code into structured code results in basically reverse-engineering the LLVM code into the original C code.
Comment