diff options
| author | Michael Liao <michael.liao@intel.com> | 2012-08-28 03:34:40 +0000 |
|---|---|---|
| committer | Michael Liao <michael.liao@intel.com> | 2012-08-28 03:34:40 +0000 |
| commit | b7d85b6328566f7a9db885a6c7e6319631fed8e2 (patch) | |
| tree | 468424970274db9c790ce3feb10bdb9cfef49e1b /llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp | |
| parent | a9d322ae6183942909313a2901bfdd496358d84a (diff) | |
| download | bcm5719-llvm-b7d85b6328566f7a9db885a6c7e6319631fed8e2.tar.gz bcm5719-llvm-b7d85b6328566f7a9db885a6c7e6319631fed8e2.zip | |
Fix PR12312
- Add a target-specific DAG optimization to recognize a pattern PTEST-able.
Such a pattern is a OR'd tree with X86ISD::OR as the root node. When
X86ISD::OR node has only its flag result being used as a boolean value and
all its leaves are extracted from the same vector, it could be folded into an
X86ISD::PTEST node.
llvm-svn: 162735
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp')
0 files changed, 0 insertions, 0 deletions

