tschuett added a comment.

  constexpr bool test() {
  float A = 1,0;
  float B = 2,0;
  float C = 3.0;
  float D = 4,0;
  __m128 AV;
  __m128 BV;
  __m128 result =  _mm_setr_ps(A, B, C, D);
  result =  _mm_setzero_ps();
  result = _mm_xor_ps(AV, BV);
  return true;
  }

It should help you to test, whether you can call all functions in constant 
evaluation contexts and normal evaluations. I don't know  whether you want to 
sprinkle some asserts into the test function.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93597

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to