As a follow-up to D99815, this patch enables the test by using a DAG order instead of a sequential order to mitigate the platform portability issue due to std:: _Hash_bytes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks for the fix. How about using DAG check for things under other "Getting base profile for function" too?
Comment Actions
Check-dag is added for _Z5funcAi and _Z5funcBi only since only the order of compiling _Z5funcAi and _Z5funcBi depends on std::hash. Both of them are children of main and there's no call from one of them to the other. Thus the top-down order is computed based on which one is traversed first during scc traversal. For the other two functions, main should be compiled first and _Z8funcLeafi should be compiled at last.