summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorKai Nacke <kai.nacke@redstar.de>2015-01-14 10:19:09 +0000
committerKai Nacke <kai.nacke@redstar.de>2015-01-14 10:19:09 +0000
commit755b6e8a42b23c853d804b6fef7847d9365c4786 (patch)
tree16c3b91b6b2c9d517c25f2397093cb77100b131a /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent62dfce3240d47df23347265df5e6f568c478f9ae (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud