A pragmatic fix for https://github.com/kkAyataka/plusaes/issues/43, simply disabling optimizations if the bad conditions are detected. I'm making this PR because I figure it will be a while until the issue in LLVM is fixed & that fix is deployed, but I don't know this for sure.
Also, I had to move the implementation out because #pragma optimize only works at file scope.
A pragmatic fix for https://github.com/kkAyataka/plusaes/issues/43, simply disabling optimizations if the bad conditions are detected. I'm making this PR because I figure it will be a while until the issue in LLVM is fixed & that fix is deployed, but I don't know this for sure.
Also, I had to move the implementation out because
#pragma optimize
only works at file scope.