Case sensitive .macros for llvm-mc and arithmetic in expressions

I have come across some assembly that assumes macro names are not case sensitive. My first reaction is to have the user fix the code until I found out that gas .macro names are not case sensitive.

While this isn't the exact code, it is representative of the problem:

macro.diff (894 Bytes)