diff options
author | Juergen Ributzka <juergen@apple.com> | 2013-09-05 23:02:56 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2013-09-05 23:02:56 +0000 |
commit | 53d0b492f57b3f7b28858c4d9c299ee8c72f9a02 (patch) | |
tree | f72eb97d89e8535b7027cf5971c634f6c07bb33a /clang/lib/Serialization/ModuleManager.cpp | |
parent | 539375aefd4c34a035f07860d6d9ad143335698c (diff) | |
download | bcm5719-llvm-53d0b492f57b3f7b28858c4d9c299ee8c72f9a02.tar.gz bcm5719-llvm-53d0b492f57b3f7b28858c4d9c299ee8c72f9a02.zip |
[X86] Perform VSELECT DAG combines also before DAG type legalization.
If the DAG already has only legal types, then the second round of DAG combines
is skipped. In this case VSELECT+SETCC patterns that match a more efficient
instruction (e.g. min/max) are never recognized.
This fix allows VSELECT+SETCC combines if the types are already legal before DAG
type legalization.
Reviewer: Nadav
llvm-svn: 190105
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions