diff options
author | Andrew Litteken <andrew.litteken@gmail.com> | 2020-08-31 14:55:38 -0500 |
---|---|---|
committer | Andrew Litteken <andrew.litteken@gmail.com> | 2020-12-17 19:33:57 -0600 |
commit | cea807602a2fb0b8d79b0eef30ce717ae4645fbc (patch) | |
tree | 26b01c8b319a5c95393a9150947b98f6b84150f5 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | fc5cf50e892b5e2307de924923fe799702b055d2 (diff) | |
download | llvm-cea807602a2fb0b8d79b0eef30ce717ae4645fbc.zip llvm-cea807602a2fb0b8d79b0eef30ce717ae4645fbc.tar.gz llvm-cea807602a2fb0b8d79b0eef30ce717ae4645fbc.tar.bz2 |
[IRSim][IROutliner] Adding InstVisitor to disallow certain operations.
This adds a custom InstVisitor to return false on instructions that
should not be allowed to be outlined. These match the illegal
instructions in the IRInstructionMapper with exception of the addition
of the llvm.assume intrinsic.
Tests all the tests marked: illegal-*-.ll with a test for each kind of
instruction that has been marked as illegal.
Reviewers: jroelofs, paquette
Differential Revisions: https://reviews.llvm.org/D86976
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions