[PATCH] D104790: [x86] fix mm*_undefined* intrinsics to use arbitrary frozen bit pattern

Juneyoung Lee via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 26 07:38:07 PDT 2021


aqjune added a comment.

In D104790#2836463 <https://reviews.llvm.org/D104790#2836463>, @craig.topper wrote:

> In D104790#2836253 <https://reviews.llvm.org/D104790#2836253>, @aqjune wrote:
>
>> I couldn't find end-to-end tests for checking assembly generation.
>> To check whether this is working ok, which tests should I write and how would it look like?
>
> There are tests like test/CodeGen/X86/avx-intrinsics-fast-isel.ll that are supposed to contain the IR the frontend generates. They mostly contain optimized IR, but then run fast-isel in the backend. I don't think all intrinsics are tested this way.

Thank you for the info. I updated three *-fast-isel.ll files to check this.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104790



More information about the cfe-commits mailing list