Fix code style issue

This commit is contained in:
Wenyong Huang 2022-07-11 22:41:49 +08:00
parent a3f16871ed
commit 8bd5d5d2ef

View File

@ -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;
}