This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][X86][NFC] Simplify the code of X86MCPlusBuilder::getAliasSized
ClosedPublic

Authored by skan on Feb 22 2023, 3:26 AM.

Diff Detail

Event Timeline

skan created this revision.Feb 22 2023, 3:26 AM
skan requested review of this revision.Feb 22 2023, 3:26 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 22 2023, 3:26 AM
skan updated this revision to Diff 499444.Feb 22 2023, 3:43 AM

Fix build fail

skan updated this revision to Diff 499446.Feb 22 2023, 3:54 AM

Try to fix build fail

skan updated this revision to Diff 499451.Feb 22 2023, 4:32 AM

Try to fix runfail

Amir accepted this revision.Feb 22 2023, 10:59 AM

Nice, thank you for reducing it!

This revision is now accepted and ready to land.Feb 22 2023, 10:59 AM
skan added a comment.Feb 22 2023, 6:40 PM

BTW, I'd like to ask if there any OS requirement for the bolt build @Amir ? I followed the instructions in https://code.ornl.gov/llvm-doe/llvm-project/-/tree/doe/bolt, but could not build bolt on RHEL9. Lots of "can not find header files errors".

Amir added a comment.Feb 22 2023, 6:51 PM

BTW, I'd like to ask if there any OS requirement for the bolt build @Amir ? I followed the instructions in https://code.ornl.gov/llvm-doe/llvm-project/-/tree/doe/bolt, but could not build bolt on RHEL9. Lots of "can not find header files errors".

No, RHEL should do. I'm able to build on CentOS8 using default host toolchain. Please open a bug and we'll look closer.