For faulting ops, include a comment w/the fault destination
authorPhilip Reames <listmail@philipreames.com>
Tue, 12 Mar 2019 21:05:31 +0000 (21:05 +0000)
committerPhilip Reames <listmail@philipreames.com>
Tue, 12 Mar 2019 21:05:31 +0000 (21:05 +0000)
commit9134f84ba4eaf593653739047b0c4fffa94c9ad0
tree09999539b398b73e74fd17066b8e8015f587d5d8
parentcaf1316f7100e1ba1e7e800eae6a5adf0d48bf90
For faulting ops, include a comment w/the fault destination

A faulting_op is one that has specified behavior when a fault occurs, generally redirecting control flow to another location.  This change just adds a comment to the assembly output which makes it both human readable, and machine checkable w/o having to parse the FaultMap section.  This is used to split a test file into two parts, so that I can (in a near future commit) easily extend the test file to demonstrate another case.

llvm-svn: 355982
llvm/lib/Target/X86/X86MCInstLower.cpp
llvm/test/CodeGen/X86/implicit-faultmap.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/implicit-null-check.ll