[PATCH] D123908: Add LLVM_SYS_PAGE_SIZE option to support 4K/8K/16K/64K page size system

Xiaodong Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 19 06:03:44 PDT 2022


XiaodongLoong added a comment.

In D123908#3456330 <https://reviews.llvm.org/D123908#3456330>, @lebedev.ri wrote:

> If this is meant to specify the value for the target system, then certainly,
> this is still hardcoding some value, that will still not be //always// right.
> I would guess the solution should be to read it from the IR metadata.

I need to do a invetigation on IR metadata. Is there a similar example about it? 
Thank you!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123908/new/

https://reviews.llvm.org/D123908



More information about the llvm-commits mailing list