Meador Inge 70ab7cc55c [AVR] Compute code model if one is not provided
The patch from r310028 fixed things to work with the new
`LLVMTargetMachine` constructor that came in on r309911.
However, the fix was partial since an object of type
`CodeModel::Model` must be passed to `LLVMTargetMachine`
(not one of `Optional<CodeModel::Model>`).

This patch fixes the problem in the same fashion that r309911
did for other machines: by checking if the passed optional
code model has a value and using `CodeModel::Small` if not.

llvm-svn: 310200
2017-08-06 12:02:17 +00:00
..
2017-07-13 08:40:59 +00:00
2017-07-23 23:39:11 +00:00
2017-07-11 04:45:15 +00:00
2017-07-11 04:53:43 +00:00
2016-12-10 12:08:19 +00:00
2016-02-10 08:55:23 +00:00

AVR backend

This experimental backend is for the 8-bit Atmel AVR microcontroller.