Add load-folding table entries for BT*ri8 instructions.
authorDan Gohman <gohman@apple.com>
Thu, 15 Jan 2009 17:57:09 +0000 (17:57 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 15 Jan 2009 17:57:09 +0000 (17:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62267 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrInfo.cpp

index 9cf67b9d4ffe317a1df9a06d478bbe7ab6f049db..c4d9798e9f23c437b48004d877287dfd97f36fd9 100644 (file)
@@ -223,6 +223,9 @@ X86InstrInfo::X86InstrInfo(X86TargetMachine &tm)
 
   // If the third value is 1, then it's folding either a load or a store.
   static const unsigned OpTbl0[][3] = {
+    { X86::BT16ri8,     X86::BT16mi8, 1 },
+    { X86::BT32ri8,     X86::BT32mi8, 1 },
+    { X86::BT64ri8,     X86::BT64mi8, 1 },
     { X86::CALL32r,     X86::CALL32m, 1 },
     { X86::CALL64r,     X86::CALL64m, 1 },
     { X86::CMP16ri,     X86::CMP16mi, 1 },