[llvm-commits] CVS: llvm/lib/Analysis/IPA/Andersens.cpp

Reid Spencer reid at x10sys.com
Tue Nov 7 22:48:17 PST 2006



Changes in directory llvm/lib/Analysis/IPA:

Andersens.cpp updated: 1.34 -> 1.35
---
Log message:

For PR950: http://llvm.org/PR950 :
This patch converts the old SHR instruction into two instructions, 
AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not
dependent on the sign of their operands.


---
Diffs of the changes:  (+2 -1)

 Andersens.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Analysis/IPA/Andersens.cpp
diff -u llvm/lib/Analysis/IPA/Andersens.cpp:1.34 llvm/lib/Analysis/IPA/Andersens.cpp:1.35
--- llvm/lib/Analysis/IPA/Andersens.cpp:1.34	Thu Nov  2 14:25:49 2006
+++ llvm/lib/Analysis/IPA/Andersens.cpp	Wed Nov  8 00:47:33 2006
@@ -784,7 +784,8 @@
   case Instruction::Unreachable:
   case Instruction::Free:
   case Instruction::Shl:
-  case Instruction::Shr:
+  case Instruction::LShr:
+  case Instruction::AShr:
     return;
   default:
     // Is this something we aren't handling yet?






More information about the llvm-commits mailing list