[PATCH] D58302: [X86] Add ImmArg markings to intrinsics.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 15 13:10:13 PST 2019


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel, arsenm.
Herald added subscribers: jdoerfert, wdng.

Remove test cases that checked for not crashing when immediate operands were passed not an immediate. These are now considered ill-formed in IR.

This was done by manually scanning the intrinsic file for llvm_i32_ty and llvm_i8_ty which are the predominant types we use for immediates. Most of them are on vector intrinsics. I might have missed some other intrinsics.


https://reviews.llvm.org/D58302

Files:
  include/llvm/IR/IntrinsicsX86.td
  test/CodeGen/X86/pr33772.ll
  test/Transforms/InstCombine/X86/x86-insertps.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58302.187073.patch
Type: text/x-patch
Size: 105267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190215/be7f8ba6/attachment.bin>


More information about the llvm-commits mailing list