Also provide the associated assertion when CodeGen starts.
Details
Diff Detail
Event Timeline
This assert will only be valid as long as we create (or can create) a data layout in the backend right?
-eric
include/llvm/Target/TargetMachine.h | ||
---|---|---|
138–141 | "is used for optimizations and code generation"? |
include/llvm/Target/TargetMachine.h | ||
---|---|---|
138–141 | I was not sure for the Target override, can we imagine that a Target is more flexible on the DataLayout requirement? Can it accept variation on some aspects? |
include/llvm/Target/TargetMachine.h | ||
---|---|---|
138–141 | Yeah, it makes sense eventually. Maybe not at the moment? Entirely up to you though. :) |
"is used for optimizations and code generation"?
"This hook provides a..."
"The default implementation just checks..." though do we really need a target override here?