[PATCH] D57888: [X86][SSE] Generalize X86ISD::BLENDI support to more value types (WIP)

Sam McCall via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 11 10:42:12 PST 2019


sammccall added a comment.

F8261122: elfcore.c <https://reviews.llvm.org/F8261122>

I bootstrapped clang with this patch applied: on x86-64 with `-O3 -msse4.2` and assertions off.

  clang -c elfcore.c

yields the following

  /usr/local/google/home/sammccall/elfcore.c:4:14: warning: format string contains '\0' within the string body [-Wformat]
  void run() { MACRO2(a + b + c); }
               ^~~~~~~~~~~~~~~~~
  /usr/local/google/home/sammccall/elfcore.c:3:19: note: expanded from macro 'MACRO2'
  #define MACRO2(x) PASTE_AND_FORMAT(a, x)
                    ^~~~~~~~~~~~~~~~~~~~~~
  /usr/local/google/home/sammccall/elfcore.c:2:42: note: expanded from macro 'PASTE_AND_FORMAT'
  #define PASTE_AND_FORMAT(a, b) format(#a #b)
                                        ~~~^~
  <scratch space>:3:8: note: expanded from here
  "a P b <U+0000> c"
         ^
  1 warning generated.

operator tokens (and some other characters like `(`) get deterministically garbled when tokens are pasted in scratch space.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57888/new/

https://reviews.llvm.org/D57888





More information about the llvm-commits mailing list