Mark MOV8mr_NOREX and MOV8rm_NOREX as mayStore / mayLoad respectively.
[llvm/msp430.git] / cmake / modules / AddLLVMDefinitions.cmake
blob0f6d81f736d514b5733220c7784fc5fad3390b5e
1 # There is no clear way of keeping track of compiler command-line\r
2 # options chosen via `add_definitions', so we need our own method for\r
3 # using it on tools/llvm-config/CMakeLists.txt.\r
4 \r
5 # Beware that there is no implementation of remove_llvm_definitions.\r
6 \r
7 macro(add_llvm_definitions)\r
8   set(LLVM_DEFINITIONS "${LLVM_DEFINITIONS} ${ARGN}")\r
9   add_definitions( ${ARGN} )\r
10 endmacro(add_llvm_definitions)\r