Hideto Ueno
afd4a37b2a
[IR] Fix getPointerAlignment for CallBase
Summary:
In current getPointerAlignemnt implementation, CallBase.getPointerAlignement(..) checks only parameter attriutes in the callsite. For example,
```
declare align 8 i8* @foo()
define void @bar() {
%a = tail call align 8 i8* @foo() ; getPointerAlignment returns 8
%b = tail call i8* @foo() ; getPointerAlignemnt returns 0
ret void
}
```
This patch will fix the problem.
Reviewers: jdoerfert
Reviewed By: jdoerfert
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65281
llvm-svn: 367185
2019-07-28 06:17:46 +00:00
..
2019-07-05 15:25:05 +00:00
2019-07-13 00:29:03 +00:00
2019-07-15 20:02:23 +00:00
2019-07-25 16:11:57 +00:00
2019-05-05 18:59:45 +00:00
2019-03-06 15:20:13 +00:00
2019-05-05 16:07:09 +00:00
2019-05-05 16:07:09 +00:00
2019-06-03 18:19:54 +00:00
2019-07-18 21:03:37 +00:00
2019-04-24 17:05:08 +00:00
2019-06-30 11:19:56 +00:00
2019-05-07 02:06:37 +00:00
2019-07-12 09:45:12 +00:00
2019-05-30 21:45:59 +00:00
2019-05-07 02:06:37 +00:00
2019-06-30 11:19:56 +00:00
2019-07-24 22:23:05 +00:00
2019-07-09 18:49:29 +00:00
2019-07-09 05:07:28 +00:00
2019-07-08 16:18:18 +00:00
2019-06-13 09:37:38 +00:00
2019-07-16 04:46:31 +00:00
2019-04-24 00:06:24 +00:00
2019-07-09 01:51:36 +00:00
2019-07-05 12:48:16 +00:00
2019-07-08 21:05:20 +00:00
2019-04-23 14:51:27 +00:00
2019-04-23 14:51:27 +00:00
2019-02-28 19:55:07 +00:00
2019-07-05 15:25:05 +00:00
2019-02-28 04:00:55 +00:00
2019-04-04 22:40:06 +00:00
2019-03-22 23:11:08 +00:00
2019-02-28 19:55:07 +00:00
2019-07-24 19:47:57 +00:00
2019-03-31 10:15:39 +00:00
2019-07-05 12:48:16 +00:00
2019-07-28 06:17:46 +00:00
2019-07-23 17:19:56 +00:00