This is an archive of the discontinued LLVM Phabricator instance.

[Interpreter] Added aggregate types support
Needs ReviewPublic

Authored by cdai2 on Jan 4 2023, 11:55 PM.

Details

Summary

SATest needs this support for compiler validation.

Diff Detail

Event Timeline

cdai2 created this revision.Jan 4 2023, 11:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 4 2023, 11:55 PM
cdai2 requested review of this revision.Jan 4 2023, 11:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 4 2023, 11:55 PM
bader added a comment.Jan 5 2023, 11:49 AM

I can understand the reason for changes in llvm/lib/ExecutionEngine/ExecutionEngine.cpp and tests, but the purpose of changes in llvm/lib/ExecutionEngine/Interpreter/ is not clear. Could you elaborate more on that, please?

cdai2 added a comment.Jan 5 2023, 11:40 PM

I can understand the reason for changes in llvm/lib/ExecutionEngine/ExecutionEngine.cpp and tests, but the purpose of changes in llvm/lib/ExecutionEngine/Interpreter/ is not clear. Could you elaborate more on that, please?

The OCL test we used includes the Interpreter.h header file and uses the getOperandValue function of Interpreter instance. This is why we copy it to LVM_BINARY_DIR}/include/ path.

cdai2 updated this revision to Diff 490000.Jan 17 2023, 5:38 PM

Only update ExecutionEngine.cpp