diff options
author | Kai Nacke <kai.nacke@redstar.de> | 2015-01-14 10:19:09 +0000 |
---|---|---|
committer | Kai Nacke <kai.nacke@redstar.de> | 2015-01-14 10:19:09 +0000 |
commit | 755b6e8a42b23c853d804b6fef7847d9365c4786 (patch) | |
tree | 16c3b91b6b2c9d517c25f2397093cb77100b131a /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | 62dfce3240d47df23347265df5e6f568c478f9ae (diff) | |
download | bcm5719-llvm-755b6e8a42b23c853d804b6fef7847d9365c4786.tar.gz bcm5719-llvm-755b6e8a42b23c853d804b6fef7847d9365c4786.zip |
[mips] Refine octeon instructions seq/seqi/sne/snei
This commit refines the pattern for the octeon seq/seqi/sne/snei instructions.
The target register is set to 0 or 1 according to the result of the comparison.
In C, this is something like
rd = (unsigned long)(rs == rt)
This commit adds a zext to bring the result to i64. With this change the
instruction is selected for this type of code. (gcc produces the same code for
the above C code.)
llvm-svn: 225968
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions