Preliminary patch, posted to go along with discussion on llvm-dev.
3DNow! intrinsics are not converted, as of yet.
Tests have not been updated to match new expected IR output. Currently failing:
Clang :: CodeGen/attr-target-x86-mmx.c
Clang :: CodeGen/mmx-builtins.c
Clang :: CodeGen/mmx-shift-with-immediate.c
Clang :: Headers/xmmintrin.c
clang-format: please reformat the code