[PATCH] D135453: [SelectionDAG] Use consistent type sizes for opcode
Mirko Brkusanin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 12 06:59:31 PDT 2022
mbrkusanin added a comment.
I ran a test with 100 fadd float instructions ('-debug' reported 106 nodes) and measured memory with '--time-passes -track-memory' option.
There were small differences in reported memory between runs (not sure what is the reason for this).
Here are the results for 10 runs for 'AMDGPU DAG->DAG Pattern Instruction Selection' pass:
int16_t
205696
204768
204816
206528
206528
205696
205696
205648
206528
204816
avg = 205672
int32_t
209808
209808
210640
209760
209808
209808
210640
209808
210640
209808
avg = 210052.8
increase:
210052.8 / 205672 = 1.0212999338753
Other passes were mostly indentical with small variations between runs.
sizeof(SDNode) went from 88 to 96.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135453/new/
https://reviews.llvm.org/D135453
More information about the llvm-commits
mailing list