From 3c91f36a4588df306284db0dece0590e846b5f55 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Sat, 25 Jul 2009 00:39:37 +0000 Subject: [PATCH] Another TODO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77026 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/README-Thumb.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/Target/ARM/README-Thumb.txt b/lib/Target/ARM/README-Thumb.txt index df94312d5f3..a961a576f40 100644 --- a/lib/Target/ARM/README-Thumb.txt +++ b/lib/Target/ARM/README-Thumb.txt @@ -248,3 +248,9 @@ Make use of hi register variants of cmp: tCMPhir / tCMPZhir. Thumb1 immediate field sometimes keep pre-scaled values. See Thumb1RegisterInfo::eliminateFrameIndex. This is inconsistent from ARM and Thumb2. + +//===---------------------------------------------------------------------===// + +Rather than having tBR_JTr print a ".align 2" and constant island pass pad it, +add a target specific ALIGN instruction instead. That way, GetInstSizeInBytes +won't have to over-estimate. It can also be used for loop alignment pass.