impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Ho (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-4164: Use inline hints instead of always-inline
Date Tue, 23 May 2017 00:07:33 GMT
Michael Ho has posted comments on this change.

Change subject: IMPALA-4164: Use inline hints instead of always-inline

Patch Set 4:

File be/src/codegen/

Line 163:   return Status::OK();
> We have __attribute__((target("avx2"))) on some bloom filter functions alre
Good point. They aren't cross-compiled yet but I verified the problem by cross-compiling them.

I took your suggestion to set all functions' attributes to be the one derived from 'cpu_attrs_'.
Alternately, we may consider stripping the "target-features" attributes of the cross-compiled
functions loaded but I don't see an interface defined in llvm::Function. IMHO, it may be clearer
to set "target-features" attribute explicitly so we know they are the same for both hand-crafted
IR and cross-compiled function.

Line 166: LlvmCodeGen::LlvmCodeGen(RuntimeState* state, ObjectPool* pool,
> Ah ok, maybe make the log text a bit more human-readable then?
I removed them now in the new patch as they would be redundant with cpu_attrs_.

To view, visit
To unsubscribe, visit

Gerrit-MessageType: comment
Gerrit-Change-Id: I2d87ae8d222b415587e7320cb9072e4a8d6615ce
Gerrit-PatchSet: 4
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Michael Ho <>
Gerrit-Reviewer: Michael Ho <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-HasComments: Yes

View raw message