This is an archive of the discontinued LLVM Phabricator instance.

Insert switch tables into the program memory address space (2/4)
AbandonedPublic

Authored by dylanmckay on Aug 23 2017, 1:54 AM.

Details

Summary

This means that on Harvard architectures like AVR, we will now place
these tables into program memory, rather than RAM.

Full patchset

  • Add program address space to data layout D37052
  • Insert switch tables into the program memory address space D37053
  • Require address space to be specified when creating functions D37054
  • [clang] Require address space to be specified when creating functions D37057