mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-07-15 16:58:34 +00:00
Fix code style issue
This commit is contained in:
parent
a3f16871ed
commit
8bd5d5d2ef
|
@ -691,8 +691,7 @@ compile_int_rot(AOTCompContext *comp_ctx, LLVMValueRef left, LLVMValueRef right,
|
|||
char *name = is_rotl ? "rotl" : "rotr";
|
||||
|
||||
/* right is 0 */
|
||||
if (LLVMIsConstant(right)
|
||||
&& (uint64)LLVMConstIntGetZExtValue(right) == 0) {
|
||||
if (LLVMIsConstant(right) && (uint64)LLVMConstIntGetZExtValue(right) == 0) {
|
||||
return left;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user