Changes in directory llvm/lib/Target/X86:
README.txt updated: 1.148 -> 1.149 --- Log message: fix testcase. It's not safe to strictly evaluate a load that should be lazy. --- Diffs of the changes: (+2 -1) README.txt | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/Target/X86/README.txt diff -u llvm/lib/Target/X86/README.txt:1.148 llvm/lib/Target/X86/README.txt:1.149 --- llvm/lib/Target/X86/README.txt:1.148 Thu Dec 21 19:03:22 2006 +++ llvm/lib/Target/X86/README.txt Wed Jan 3 13:12:31 2007 @@ -755,8 +755,9 @@ //===---------------------------------------------------------------------===// This could be a single 16-bit load. + int f(char *p) { - if (p[0] == 1 && p[1] == 2) return 1; + if ((p[0] == 1) & (p[1] == 2)) return 1; return 0; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits